Skip to main content
All docs
V25.1
  • WorkspaceManager.SaveLayout(Control, Stream, Predicate<IComponentProperty>) Method

    Saves the layout of the specified control to a stream.

    Namespace: DevExpress.Utils

    Assembly: DevExpress.Utils.v25.1.dll

    NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

    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