Back to Devexpress

PopupMenuShowingEventArgs.Allow Property

windowsforms-devexpress-dot-xtralayout-dot-popupmenushowingeventargs-1943fb00.md

latest1.2 KB
Original Source

PopupMenuShowingEventArgs.Allow Property

Gets or sets whether the menu is allowed to be displayed.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
Boolean

A Boolean value that specifies whether the menu is allowed to be displayed.

|

Remarks

To prevent the menu from being invoked, set the Allow property to false.

See Also

PopupMenuShowingEventArgs Class

PopupMenuShowingEventArgs Members

DevExpress.XtraLayout Namespace