Rediger

Del via


KeyGesture.DisplayString Property

Definition

Gets a string representation of this KeyGesture.

public:
 property System::String ^ DisplayString { System::String ^ get(); };
public string DisplayString { get; }
member this.DisplayString : string
Public ReadOnly Property DisplayString As String

Property Value

The display string for this KeyGesture. The default value is Empty.

Remarks

If a display string was not set in the constructor, an empty string is returned.

If this property is empty, the GetDisplayStringForCulture method returns a string created from the Key and Modifiers.

Applies to

See also