VisualElement.SetAccessKey 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
SetAccessKey(BindableObject, String) |
Sets the value that the access key displays. |
SetAccessKey(IPlatformElementConfiguration<Windows,VisualElement>, String) |
Sets the value that the access key displays. |
SetAccessKey(BindableObject, String)
- Source:
- VisualElement.cs
- Source:
- VisualElement.cs
Sets the value that the access key displays.
public:
static void SetAccessKey(Microsoft::Maui::Controls::BindableObject ^ element, System::String ^ value);
public static void SetAccessKey (Microsoft.Maui.Controls.BindableObject element, string value);
static member SetAccessKey : Microsoft.Maui.Controls.BindableObject * string -> unit
Public Sub SetAccessKey (element As BindableObject, value As String)
Parameters
- element
- BindableObject
The element for which to set the access key string.
- value
- String
The new access key value.
Applies to
SetAccessKey(IPlatformElementConfiguration<Windows,VisualElement>, String)
- Source:
- VisualElement.cs
- Source:
- VisualElement.cs
Sets the value that the access key displays.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Windows ^, Microsoft::Maui::Controls::VisualElement ^> ^ SetAccessKey(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Windows ^, Microsoft::Maui::Controls::VisualElement ^> ^ config, System::String ^ value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows,Microsoft.Maui.Controls.VisualElement> SetAccessKey (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows,Microsoft.Maui.Controls.VisualElement> config, string value);
static member SetAccessKey : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows, Microsoft.Maui.Controls.VisualElement> * string -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows, Microsoft.Maui.Controls.VisualElement>
<Extension()>
Public Function SetAccessKey (config As IPlatformElementConfiguration(Of Windows, VisualElement), value As String) As IPlatformElementConfiguration(Of Windows, VisualElement)
Parameters
The platform configuration for the element for which to set the access key string.
- value
- String
The new access key value.
Returns
A fluent object on which the developer may make furter method calls.