Back to Devexpress

DXWindow.AllowSystemMenu Property

wpf-devexpress-dot-xpf-dot-core-dot-dxwindow-470559dd.md

latest1.5 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public bool AllowSystemMenu { get; set; }
vb
Public Property AllowSystemMenu As Boolean

Property Value

TypeDescription
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.

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

See Also

DXWindow Class

DXWindow Members

DevExpress.Xpf.Core Namespace