Jump​List​Item​Foreground​Converter Jump​List​Item​Foreground​Converter Jump​List​Item​Foreground​Converter Class

Definition

Provides the appropriate foreground Brush for elements in the item template of a jump list to bind to. The Brush reflects the current theme and accent color, and it's also used to shade empty-group jump list items. By default, the Brush matches built-in apps, but you can override that to suit your design needs using the Enabled and Disabled properties.

public : sealed class JumpListItemForegroundConverter : DependencyObject, IJumpListItemForegroundConverter, IValueConverterpublic sealed class JumpListItemForegroundConverter : DependencyObject, IJumpListItemForegroundConverter, IValueConverterPublic NotInheritable Class JumpListItemForegroundConverter Inherits DependencyObject Implements IJumpListItemForegroundConverter, IValueConverter
Inheritance
JumpListItemForegroundConverterJumpListItemForegroundConverterJumpListItemForegroundConverter
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties

Constructors

JumpListItemForegroundConverter() JumpListItemForegroundConverter() JumpListItemForegroundConverter()

Initializes a new instance of the JumpListItemForegroundConverter class.

public : JumpListItemForegroundConverter()public JumpListItemForegroundConverter()Public Sub New()
Attributes

Properties

Disabled Disabled Disabled

Gets or sets the brush to be used for the foreground when the group is empty and the jump list item is disabled.

public : Brush Disabled { get; set; }public Brush Disabled { get; set; }Public ReadWrite Property Disabled As Brush
Value
Brush Brush Brush

The brush to be used for the foreground when the group is empty and the jump list item is disabled.

Attributes

DisabledProperty DisabledProperty DisabledProperty

Identifies the Disabled dependency property.

public : static DependencyProperty DisabledProperty { get; }public static DependencyProperty DisabledProperty { get; }Public Static ReadOnly Property DisabledProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the Disabled dependency property.

Attributes

Enabled Enabled Enabled

Gets or sets the brush to be used for the foreground when the group is not empty and the jump list item is enabled.

public : Brush Enabled { get; set; }public Brush Enabled { get; set; }Public ReadWrite Property Enabled As Brush
Value
Brush Brush Brush

The brush to be used for the foreground when the group is not empty and the jump list item is enabled.

Attributes

EnabledProperty EnabledProperty EnabledProperty

Identifies the Enabled dependency property.

public : static DependencyProperty EnabledProperty { get; }public static DependencyProperty EnabledProperty { get; }Public Static ReadOnly Property EnabledProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the Enabled dependency property.

Attributes

Methods

Convert(Object, TypeName, Object, String) Convert(Object, TypeName, Object, String) Convert(Object, TypeName, Object, String)

Returns the enabled brush if the item is not empty, otherwise returns the disabled brush.

public : PlatForm::Object Convert(PlatForm::Object value, TypeName targetType, PlatForm::Object parameter, PlatForm::String language)public object Convert(Object value, Type targetType, Object parameter, String language)Public Function Convert(value As Object, targetType As Type, parameter As Object, language As String) As object
Parameters
value
PlatForm::Object Object Object

The source data being passed to the target.

targetType
TypeName Type Type

The Type of data expected by the target dependency property.

parameter
PlatForm::Object Object Object

An optional parameter to be used in the converter logic.

language
PlatForm::String String String

The culture of the conversion.

Returns
PlatForm::Object object object

The enabled brush if the item is not empty, otherwise the disabled brush.

Attributes

ConvertBack(Object, TypeName, Object, String) ConvertBack(Object, TypeName, Object, String) ConvertBack(Object, TypeName, Object, String)

Modifies the target data before passing it to the source object

public : PlatForm::Object ConvertBack(PlatForm::Object value, TypeName targetType, PlatForm::Object parameter, PlatForm::String language)public object ConvertBack(Object value, Type targetType, Object parameter, String language)Public Function ConvertBack(value As Object, targetType As Type, parameter As Object, language As String) As object
Parameters
value
PlatForm::Object Object Object

The target data being passed to the source.

targetType
TypeName Type Type

The Type of data expected by the source object.

parameter
PlatForm::Object Object Object

An optional parameter to be used in the converter logic.

language
PlatForm::String String String

The culture of the conversion.

Returns
PlatForm::Object object object

The value to be passed to the source object.

Attributes

See Also