Skip to main content
.NET 6.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.v24.1.dll

NuGet Package: DevExpress.ExpressApp

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