Back to Devexpress

LayoutAllowEventArgs.Allow Property

corelibraries-devexpress-dot-utils-dot-layoutalloweventargs.md

latest1.4 KB
Original Source

LayoutAllowEventArgs.Allow Property

Gets or sets whether to allow upgrading the control layout.

Namespace : DevExpress.Utils

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

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

Property Value

TypeDescription
Boolean

true to allow the operation; otherwise, false.

|

Remarks

Set the Allow property to false , to prevent the layout from being upgraded.

To obtain the textual representation of the previous layout version, use the LayoutUpgradeEventArgs.PreviousVersion property.

See Also

PreviousVersion

LayoutAllowEventArgs Class

LayoutAllowEventArgs Members

DevExpress.Utils Namespace