다음을 통해 공유


VisualElement.SetAccessKeyHorizontalOffset Method

Definition

Overloads

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.

SetAccessKeyHorizontalOffset(BindableObject, Double)

Source:
VisualElement.cs
Source:
VisualElement.cs

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

public:
 static void SetAccessKeyHorizontalOffset(Microsoft::Maui::Controls::BindableObject ^ element, double value);
public static void SetAccessKeyHorizontalOffset (Microsoft.Maui.Controls.BindableObject element, double value);
static member SetAccessKeyHorizontalOffset : Microsoft.Maui.Controls.BindableObject * double -> unit
Public Sub SetAccessKeyHorizontalOffset (element As BindableObject, value As Double)

Parameters

element
BindableObject

The element for which to set the horizontal access key offset.

value
Double

The new offset value.

Applies to

SetAccessKeyHorizontalOffset(IPlatformElementConfiguration<Windows,VisualElement>, Double)

Source:
VisualElement.cs
Source:
VisualElement.cs

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Windows ^, Microsoft::Maui::Controls::VisualElement ^> ^ SetAccessKeyHorizontalOffset(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Windows ^, Microsoft::Maui::Controls::VisualElement ^> ^ config, double value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows,Microsoft.Maui.Controls.VisualElement> SetAccessKeyHorizontalOffset (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows,Microsoft.Maui.Controls.VisualElement> config, double value);
static member SetAccessKeyHorizontalOffset : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows, Microsoft.Maui.Controls.VisualElement> * double -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows, Microsoft.Maui.Controls.VisualElement>
<Extension()>
Public Function SetAccessKeyHorizontalOffset (config As IPlatformElementConfiguration(Of Windows, VisualElement), value As Double) As IPlatformElementConfiguration(Of Windows, VisualElement)

Parameters

config
IPlatformElementConfiguration<Windows,VisualElement>

The platform configuration for the element for which to set the horizontal access key offset.

value
Double

The new offset value.

Returns

A fluent object on which the developer may make furter method calls.

Applies to