Skip to main content

DXWindow.AllowSystemMenu Property

Gets or sets whether the system menu is displayed when right clicking the DXWindow‘s title bar. This is a dependency property.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool AllowSystemMenu { get; set; }

Property Value

Type Description
Boolean

true, to display the system menu when right clicking the title bar; otherwise, false. The default is true.

Remarks

By default, if an end-user right clicks the DXWindow‘s title bar, the context system menu appears. See the following picture.

DXWindow_SystemMenu

Set the AllowSystemMenu property to false to prevent the system menu from being displayed when right clicking the title bar.

See Also