JumpListItemForegroundConverter JumpListItemForegroundConverter JumpListItemForegroundConverter JumpListItemForegroundConverter 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// This API is not available in Javascript.
Inheritance
JumpListItemForegroundConverterJumpListItemForegroundConverterJumpListItemForegroundConverterJumpListItemForegroundConverter
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() JumpListItemForegroundConverter()

Initializes a new instance of the JumpListItemForegroundConverter class.

public : JumpListItemForegroundConverter()public JumpListItemForegroundConverter()Public Sub New()// This API is not available in Javascript.

Properties

Disabled 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// This API is not available in Javascript.
Value
Brush Brush Brush Brush

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

DisabledProperty 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// This API is not available in Javascript.
Value
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

The identifier for the Disabled dependency property.

Enabled 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// This API is not available in Javascript.
Value
Brush Brush Brush Brush

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

EnabledProperty 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// This API is not available in Javascript.
Value
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

The identifier for the Enabled dependency property.

Methods

Convert(Object, TypeName, Object, String) 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// This API is not available in Javascript.
Parameters
value
PlatForm::Object Object Object Object

The source data being passed to the target.

targetType
TypeName Type Type Type

The Type of data expected by the target dependency property.

parameter
PlatForm::Object Object Object Object

An optional parameter to be used in the converter logic.

language
PlatForm::String String String String

The culture of the conversion.

Returns
PlatForm::Object object object object

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

ConvertBack(Object, TypeName, Object, String) 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// This API is not available in Javascript.
Parameters
value
PlatForm::Object Object Object Object

The target data being passed to the source.

targetType
TypeName Type Type Type

The Type of data expected by the source object.

parameter
PlatForm::Object Object Object Object

An optional parameter to be used in the converter logic.

language
PlatForm::String String String String

The culture of the conversion.

Returns
PlatForm::Object object object object

The value to be passed to the source object.

See Also