VGridControlBase.SaveLayoutToXml(String, OptionsLayoutBase) Method
In This Article
Saves a control’s layout to a specified XML file, using the specified options.
Namespace: DevExpress.XtraVerticalGrid
Assembly: DevExpress.XtraVerticalGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
#Declaration
public virtual void SaveLayoutToXml(
string xmlFile,
OptionsLayoutBase options
)
#Parameters
Name | Type | Description |
---|---|---|
xml |
String | A string value specifying the XML file name. |
options | Options |
An object that specifies which options must be saved. |
#Remarks
Use the SaveLayoutToXml method to save the control’s layout to an XML file. You can restore saved settings later, by a VGridControlBase.RestoreLayoutFromXml method call.
See Also