windowsforms-devexpress-dot-xtralayout-dot-layoutcontrol-60abb55f.md
Gets or sets the version of the layout.
Namespace : DevExpress.XtraLayout
Assembly : DevExpress.XtraLayout.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue("")]
[DXCategory("Data")]
public virtual string LayoutVersion { get; set; }
<DefaultValue("")>
<DXCategory("Data")>
Public Overridable Property LayoutVersion As String
| Type | Default | Description |
|---|---|---|
| String | String.Empty |
A string representing the version of the layout.
|
If you need to customize the control after an earlier version of the control’s layout has been loaded and applied to the control, assign layout versions..
For example, let us assume an earlier version of an application was released and contained a LayoutControl with two layout items (ID and Name). When running the application, an end-user saved the control’s layout to an XML file. Then, a new version of the application was designed,adding a new layout item (Gender). By default, when the previously saved layout is loaded within the new application, the current control’s layout will be overridden, and the Gender layout item will be hidden.
To solve the problem, customizing the control’s layout after the old layout has been loaded, you should do the following:
See Also