Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

VGridControlBase.RestoreLayoutFromXml(String, OptionsLayoutBase) Method

SECURITY NOTE

Deserializing layout settings from untrusted resources may create security issues. Review the following help topic for additional information: Safe Deserialization.

Loads the control’s layout from the 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 RestoreLayoutFromXml(
    string xmlFile,
    OptionsLayoutBase options
)

#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