Table of Contents

Method GetDisplayStringForCulture

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetDisplayStringForCulture(CultureInfo)

Returns a string that can be used to display the KeyGesture. If the DisplayString was set by the constructor, it is returned. Otherwise a suitable string is created from the Key and Modifiers, with any conversions being governed by the given CultureInfo.

public string? GetDisplayStringForCulture(CultureInfo culture)

Parameters

culture CultureInfo

the culture used when creating a string from Key and Modifiers

Returns

string