Share via


VisualElement.GetAccessKey Method

Definition

Overloads

GetAccessKey(BindableObject)

Returns the access key value.

GetAccessKey(IPlatformElementConfiguration<Windows,VisualElement>)

Returns the access key value.

GetAccessKey(BindableObject)

Source:
VisualElement.cs
Source:
VisualElement.cs

Returns the access key value.

public:
 static System::String ^ GetAccessKey(Microsoft::Maui::Controls::BindableObject ^ element);
public static string GetAccessKey (Microsoft.Maui.Controls.BindableObject element);
static member GetAccessKey : Microsoft.Maui.Controls.BindableObject -> string
Public Function GetAccessKey (element As BindableObject) As String

Parameters

element
BindableObject

The element for which to get the access key.

Returns

The access key value.

Applies to

GetAccessKey(IPlatformElementConfiguration<Windows,VisualElement>)

Source:
VisualElement.cs
Source:
VisualElement.cs

Returns the access key value.

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

Parameters

config
IPlatformElementConfiguration<Windows,VisualElement>

The platform configuration for the element for which to get the access key.

Returns

The access key value.

Applies to