Compartilhar via


VisualElement.SetAccessKey Method

Definition

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)

Sets the value that the access key displays.

public static void SetAccessKey (Xamarin.Forms.BindableObject element, string value);
static member SetAccessKey : Xamarin.Forms.BindableObject * string -> unit

Parameters

element
BindableObject

The element for which to set the access key string.

value
System.String

The new access key value.

Applies to

SetAccessKey(IPlatformElementConfiguration<Windows,VisualElement>, String)

Sets the value that the access key displays.

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows,Xamarin.Forms.VisualElement> SetAccessKey (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows,Xamarin.Forms.VisualElement> config, string value);
static member SetAccessKey : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows, Xamarin.Forms.VisualElement> * string -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows, Xamarin.Forms.VisualElement>

Parameters

config
IPlatformElementConfiguration<Windows,VisualElement>

The platform configuration for the element for which to set the access key string.

value
System.String

The new access key value.

Returns

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

Applies to