Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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