JumpListItemBackgroundConverter.Convert Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns the enabled brush if the item has values, otherwise returns the disabled brush.

Namespace:  Microsoft.Phone.Controls
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

Public Function Convert ( _
    value As Object, _
    targetType As Type, _
    parameter As Object, _
    culture As CultureInfo _
) As Object
public Object Convert(
    Object value,
    Type targetType,
    Object parameter,
    CultureInfo culture
)

Parameters

  • targetType
    Type: System..::.Type
    The Type of data expected by the target dependency property.
  • parameter
    Type: System..::.Object
    An optional parameter to be used in the converter logic.

Return Value

Type: System..::.Object
The enabled brush if the item has values, otherwise returns the disabled brush.

Implements

IValueConverter..::.Convert(Object, Type, Object, CultureInfo)

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

JumpListItemBackgroundConverter Class

Microsoft.Phone.Controls Namespace