Skip to main content
All docs
V25.2
  • DXSerializer.Deserialize(DependencyObject[], Stream, String, DXOptionsLayout, SerializationType) Method

    Restores (deserializes) the layouts of specified containers (or controls) and all their child elements from a Stream.

    Namespace: DevExpress.Xpf.Core.Serialization

    Assembly: DevExpress.Xpf.Core.v25.2.dll

    NuGet Package: DevExpress.Wpf.Core

    Declaration

    public static void Deserialize(
        DependencyObject[] dObjects,
        Stream stream,
        string appName = "",
        DXOptionsLayout options = null,
        SerializationType serializationType = SerializationType.Xml
    )

    Parameters

    Name Type Description
    dObjects DependencyObject[]

    An array of target containers (or controls).

    stream Stream

    The Stream that contains serialized layouts.

    Optional Parameters

    Name Type Default Description
    appName String String.Empty

    The application name.

    options DXOptionsLayout null

    Settings that specify whether the child object layouts of specified containers (or controls) should be deserialized.

    serializationType DevExpress.Xpf.Core.Serialization.SerializationType Xml

    The serialization type.

    See Also