Share via


VisualElement Class

Definition

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

public ref class VisualElement abstract sealed
public static class VisualElement
type VisualElement = class
Public Module VisualElement
Inheritance
VisualElement

Fields

AccessKeyHorizontalOffsetProperty

Bindable property for attached property AccessKeyHorizontalOffset.

AccessKeyPlacementProperty

Bindable property for AccessKeyPlacement.

AccessKeyProperty

Bindable property for attached property AccessKey.

AccessKeyVerticalOffsetProperty

Bindable property for attached property AccessKeyVerticalOffset.

IsLegacyColorModeEnabledProperty

Bindable property for attached property IsLegacyColorModeEnabled.

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