Skip to main content
All docs
V25.1
  • DXOptionsLayout.AcceptNestedObjects Property

    Gets or sets whether a container and its child elements should be serialized/deserialized.

    Namespace: DevExpress.Xpf.Core.Serialization

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

    NuGet Package: DevExpress.Wpf.Core

    Declaration

    [DefaultValue(AcceptNestedObjects.Default)]
    public AcceptNestedObjects AcceptNestedObjects { get; set; }

    Property Value

    Type Default Description
    AcceptNestedObjects Default

    An AcceptNestedObjects value.

    Available values:

    Name Description
    Default

    All serializable DevExpress WPF Controls.

    VisualTreeOnly

    All serializable DevExpress WPF Controls.

    AllTree

    All serializable DevExpress WPF Controls and their logical trees.

    Nothing

    Serializes/deserializes only the specified object. Layouts of the control’s child objects are not serialized/deserialized.

    IgnoreChildrenOfDisabledObjects

    All serializable DevExpress WPF Controls except for elements (and their children) whose Enabled property is false.

    See Also