VGridControlBase.RestoreLayoutFromXml(String, OptionsLayoutBase) Method

Loads the control's layout from the specified XML file, using the specified options.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

public virtual void RestoreLayoutFromXml(
    string xmlFile,
    OptionsLayoutBase options
)
Public Overridable Sub RestoreLayoutFromXml(
    xmlFile As String,
    options As OptionsLayoutBase
)

Parameters

Name Type Description
xmlFile String

A string value specifying the XML file from which control settings are read.

options OptionsLayoutBase

An object that specifies which options must be restored.

Remarks

Use the RestoreLayoutFromXml method to load the control's layout from an XML file. Control settings must have previously been written to this file by a VGridControlBase.SaveLayoutToXml method call.

See Also