VisualElement Class

Definition

Provides access to platform-specific features of visual elements on the Windows platform.

public static class VisualElement
type VisualElement = class
Inheritance
System.Object
VisualElement

Fields

AccessKeyHorizontalOffsetProperty

Backing store for the attached property that gets and sets the horizontal offset from the nominal position to use for displaying the access key tip.

AccessKeyPlacementProperty

Backing store for the attached property that gets and sets the nominal position to use for displaying the access key tip.

AccessKeyProperty

Backing store for the attached property that gets and sets the access key.

AccessKeyVerticalOffsetProperty

Backing store for the attached property that gets and sets the vertical offset from the nominal position to use for displaying the access key tip.

IsLegacyColorModeEnabledProperty

Backing store for the attached property that controls the legacy color mode.

Methods

GetAccessKey(BindableObject)

Returns the access key value.

GetAccessKey(IPlatformElementConfiguration<Windows,VisualElement>)

Returns the access key value.

GetAccessKeyHorizontalOffset(BindableObject)

Gets the horizontal offset from the nominal position to use for displaying the access key tip.

GetAccessKeyHorizontalOffset(IPlatformElementConfiguration<Windows,VisualElement>)

Gets the horizontal offset from the nominal position to use for displaying the access key tip.

GetAccessKeyPlacement(BindableObject)

Gets the nominal position to use for displaying the access key tip.

GetAccessKeyPlacement(IPlatformElementConfiguration<Windows,VisualElement>)

Gets the nominal position to use for displaying the access key tip.

GetAccessKeyVerticalOffset(BindableObject)

Gets the vertical offset from the nominal position to use for displaying the access key tip.

GetAccessKeyVerticalOffset(IPlatformElementConfiguration<Windows,VisualElement>)

Gets the vertical offset from the nominal position to use for displaying the access key tip.

GetIsLegacyColorModeEnabled(BindableObject)

Returns a Boolean value that controls whether legacy color mode is enabled.

GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Windows,VisualElement>)

Returns a Boolean value that controls whether legacy color mode is enabled.

SetAccessKey(BindableObject, String)

Sets the value that the access key displays.

SetAccessKey(IPlatformElementConfiguration<Windows,VisualElement>, String)

Sets the value that the access key displays.

SetAccessKeyHorizontalOffset(BindableObject, Double)

Sets the horizontal offset from the nominal position to use for displaying the access key.

SetAccessKeyHorizontalOffset(IPlatformElementConfiguration<Windows,VisualElement>, Double)

Sets the horizontal offset from the nominal position to use for displaying the access key.

SetAccessKeyPlacement(BindableObject, AccessKeyPlacement)

Sets nominal position to use for displaying the access key.

SetAccessKeyPlacement(IPlatformElementConfiguration<Windows,VisualElement>, AccessKeyPlacement)

Sets nominal position to use for displaying the access key.

SetAccessKeyVerticalOffset(BindableObject, Double)

Sets the vertical offset from the nominal position to use for displaying the access key.

SetAccessKeyVerticalOffset(IPlatformElementConfiguration<Windows,VisualElement>, Double)

Sets the vertical offset from the nominal position to use for displaying the access key.

SetIsLegacyColorModeEnabled(BindableObject, Boolean)

Turns the legacy color mode on and off.

SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Windows,VisualElement>, Boolean)

Turns the legacy color mode on and off.

Applies to