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

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.v19.1.dll

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