.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

CaptionHelper.RemoveAcceleratorSymbol Property

Specifies whether the ampersand character used to represent accelerator keys in captions is removed by the CaptionHelper.GetLocalizedText method.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v21.2.dll

Declaration

public static bool RemoveAcceleratorSymbol { get; set; }

Property Value

Type Description
Boolean

true, to allow the GetLocalizedText method to remove the ampersand character, used to represent accelerator keys in captions; otherwise, false.

Remarks

You do not need to use this property. It is automatically set to the correct value depending on the type of the current application. In XAF ASP.NET Web Forms applications, where accelerator keys are not supported, the RemoveAcceleratorSymbol property is set to true. In XAF Windows Forms applications, the RemoveAcceleratorSymbol property is set to false, to allow you to use accelerator keys in dialogs.

See Also