Share via


VisualElement.SetAccessKeyPlacement Method

Definition

Overloads

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.

SetAccessKeyPlacement(BindableObject, AccessKeyPlacement)

Source:
VisualElement.cs
Source:
VisualElement.cs

Sets nominal position to use for displaying the access key.

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

Parameters

element
BindableObject

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

value
AccessKeyPlacement

The new placement value.

Applies to

SetAccessKeyPlacement(IPlatformElementConfiguration<Windows,VisualElement>, AccessKeyPlacement)

Source:
VisualElement.cs
Source:
VisualElement.cs

Sets 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 ^> ^ SetAccessKeyPlacement(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Windows ^, Microsoft::Maui::Controls::VisualElement ^> ^ config, Microsoft::Maui::Controls::AccessKeyPlacement value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows,Microsoft.Maui.Controls.VisualElement> SetAccessKeyPlacement (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows,Microsoft.Maui.Controls.VisualElement> config, Microsoft.Maui.Controls.AccessKeyPlacement value);
static member SetAccessKeyPlacement : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows, Microsoft.Maui.Controls.VisualElement> * Microsoft.Maui.Controls.AccessKeyPlacement -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows, Microsoft.Maui.Controls.VisualElement>
<Extension()>
Public Function SetAccessKeyPlacement (config As IPlatformElementConfiguration(Of Windows, VisualElement), value As AccessKeyPlacement) As IPlatformElementConfiguration(Of Windows, VisualElement)

Parameters

config
IPlatformElementConfiguration<Windows,VisualElement>

The platform configuration for the element for which to set the new placement.

value
AccessKeyPlacement

The new placement value.

Returns

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

Applies to