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

LayoutAllowEventArgs.Allow Property

Gets or sets whether to allow upgrading the control layout.

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v20.1.dll

NuGet Packages: DevExpress.Data, DevExpress.WindowsDesktop.Data

Declaration

public bool Allow { get; set; }

Property Value

Type Description
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