Skip to main content
A newer version of this page is available. .

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.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, 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