Skip to main content

CaptionHelper.RemoveAcceleratorSymbol Property

Specifies whether the CaptionHelper.GetLocalizedText method removes the ampersand character that displays accelerator keys in captions.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v25.2.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 that displays 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 Core Blazor 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. It allows you to use accelerator keys in dialogs.

See Also