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

Name Description
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

Name Description
GetAccessKey(BindableObject)

Gets the keyboard access key for the element on Windows.

GetAccessKey(IPlatformElementConfiguration<Windows,VisualElement>)

Gets the keyboard access key for the element on Windows.

GetAccessKeyHorizontalOffset(BindableObject)

Gets the horizontal offset of the access key tooltip on Windows.

GetAccessKeyHorizontalOffset(IPlatformElementConfiguration<Windows,VisualElement>)

Gets the horizontal offset of the access key tooltip on Windows.

GetAccessKeyPlacement(BindableObject)

Gets the placement of the access key tooltip on Windows.

GetAccessKeyPlacement(IPlatformElementConfiguration<Windows,VisualElement>)

Gets the placement of the access key tooltip on Windows.

GetAccessKeyVerticalOffset(BindableObject)

Gets the vertical offset of the access key tooltip on Windows.

GetAccessKeyVerticalOffset(IPlatformElementConfiguration<Windows,VisualElement>)

Gets the vertical offset of the access key tooltip on Windows.

GetIsLegacyColorModeEnabled(BindableObject)

Gets whether legacy color mode is enabled on Windows.

GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Windows,VisualElement>)

Gets whether legacy color mode is enabled on Windows.

SetAccessKey(BindableObject, String)

Sets the keyboard access key for the element on Windows.

SetAccessKey(IPlatformElementConfiguration<Windows,VisualElement>, String)

Sets the keyboard access key for the element on Windows.

SetAccessKeyHorizontalOffset(BindableObject, Double)

Sets the horizontal offset of the access key tooltip on Windows.

SetAccessKeyHorizontalOffset(IPlatformElementConfiguration<Windows,VisualElement>, Double)

Sets the horizontal offset of the access key tooltip on Windows.

SetAccessKeyPlacement(BindableObject, AccessKeyPlacement)

Sets the placement of the access key tooltip on Windows.

SetAccessKeyPlacement(IPlatformElementConfiguration<Windows,VisualElement>, AccessKeyPlacement)

Sets the placement of the access key tooltip on Windows.

SetAccessKeyVerticalOffset(BindableObject, Double)

Sets the vertical offset of the access key tooltip on Windows.

SetAccessKeyVerticalOffset(IPlatformElementConfiguration<Windows,VisualElement>, Double)

Sets the vertical offset of the access key tooltip on Windows.

SetIsLegacyColorModeEnabled(BindableObject, Boolean)

Sets whether legacy color mode is enabled on Windows.

SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Windows,VisualElement>, Boolean)

Sets whether legacy color mode is enabled on Windows.

Applies to