Skip to main content

VGridControlBase.SaveLayoutToXml(String, OptionsLayoutBase) Method

SECURITY-RELATED CONSIDERATIONS

Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.

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

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v25.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