Share via


CoreTextEditContext.Name Property

Definition

Gets or sets a descriptive name for the text input control. An application framework usually uses properties such as "name" or "id" to identify a control, so it’s recommended that you set this property accordingly on the text input server so that input processors can better preserve the input context, and provide better suggestions.

public:
 property Platform::String ^ Name { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Name();

void Name(winrt::hstring value);
public string Name { get; set; }
var string = coreTextEditContext.name;
coreTextEditContext.name = string;
Public Property Name As String

Property Value

String

Platform::String

winrt::hstring

A string containing a descriptive name for the text input control.

Applies to