VGridControlBase.RestoreLayoutFromStream(Stream, 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 a stream, 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 RestoreLayoutFromStream(
Stream stream,
OptionsLayoutBase options
)
#Parameters
Name | Type | Description |
---|---|---|
stream | Stream | A System. |
options | Options |
An object that specifies which options must be restored. |
#Remarks
Use the RestoreLayoutFromStream method to load the control’s layout from a stream to which a layout was saved by the VGridControlBase.SaveLayoutToStream method call.