Skip to main content

VGridControlBase.SaveLayoutToXml(String, OptionsLayoutBase) Method

Saves a control’s layout to a specified XML file, using the specified options.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

public virtual void SaveLayoutToXml(
    string xmlFile,
    OptionsLayoutBase options
)

Parameters

Name Type Description
xmlFile String

A string value specifying the XML file name.

options OptionsLayoutBase

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