Skip to main content
All docs
V24.2

WorkspaceManager.SaveLayout(Control, Stream, Predicate<IComponentProperty>) Method

Saves the layout of the specified control to a stream.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

Declaration

public static void SaveLayout(
    Control targetControl,
    Stream stream,
    Predicate<IComponentProperty> propertySerializing = null
)

Parameters

Name Type Description
targetControl Control

A control whose layout is to be saved.

stream Stream

A Stream with the control’s layout.

Optional Parameters

Name Type Default Description
propertySerializing Predicate<DevExpress.Utils.IComponentProperty> null

The method that defines a set of criteria and allows you to filter serialized properties.

See Also