Condividi tramite


VisualElement.GetAccessKeyHorizontalOffset Method

Definition

Overloads

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.

GetAccessKeyHorizontalOffset(BindableObject)

Source:
VisualElement.cs
Source:
VisualElement.cs

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

public:
 static double GetAccessKeyHorizontalOffset(Microsoft::Maui::Controls::BindableObject ^ element);
public static double GetAccessKeyHorizontalOffset (Microsoft.Maui.Controls.BindableObject element);
static member GetAccessKeyHorizontalOffset : Microsoft.Maui.Controls.BindableObject -> double
Public Function GetAccessKeyHorizontalOffset (element As BindableObject) As Double

Parameters

element
BindableObject

The element for which to get the horizontal offset.

Returns

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

Applies to

GetAccessKeyHorizontalOffset(IPlatformElementConfiguration<Windows,VisualElement>)

Source:
VisualElement.cs
Source:
VisualElement.cs

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

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

Parameters

config
IPlatformElementConfiguration<Windows,VisualElement>

The platform configuration for the element for which to get the horizontal offset.

Returns

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

Applies to