Convert Method
Collapse the table of content
Expand the table of content

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)

public Object Convert(
	Object value,
	Type targetType,
	Object parameter,
	CultureInfo culture
)

Parameters

value
Type: System.Object
The source data being passed to the target.
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.
culture
Type: System.Globalization.CultureInfo
The culture of the conversion.

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)

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft