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
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
The platform configuration for the element for which to get the access key.
Returns
The access key value.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.