Skip to main content
All docs
V25.2
  • DXSerializer.DeserializeSingleObject(DependencyObject, String, String, SerializationType) Method

    Restores (deserializes) the layouts of the specified container (or control) and all its child elements from a file.

    Namespace: DevExpress.Xpf.Core.Serialization

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

    NuGet Package: DevExpress.Wpf.Core

    Declaration

    public static void DeserializeSingleObject(
        DependencyObject d,
        string path,
        string appName = "",
        SerializationType serializationType = SerializationType.Xml
    )

    Parameters

    Name Type Description
    d DependencyObject

    The target container (or control).

    path String

    The path to the file that contains serialized layouts.

    Optional Parameters

    Name Type Default Description
    appName String String.Empty

    The application name.

    serializationType DevExpress.Xpf.Core.Serialization.SerializationType Xml

    The serialization type.

    See Also