VisualElement.GetAccessKey Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| 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. |
GetAccessKey(BindableObject)
- Source:
- VisualElement.cs
- Source:
- VisualElement.cs
- Source:
- VisualElement.cs
- Source:
- VisualElement.cs
Gets the keyboard access key for the element on Windows.
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 to query.
Returns
The access key string.
Applies to
GetAccessKey(IPlatformElementConfiguration<Windows,VisualElement>)
- Source:
- VisualElement.cs
- Source:
- VisualElement.cs
- Source:
- VisualElement.cs
- Source:
- VisualElement.cs
Gets the keyboard access key for the element on Windows.
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
The platform configuration.
Returns
The access key string.