Skip to main content
All docs
V25.1
  • LegendBase.ShouldSerializeItems(XamlDesignerSerializationManager) Method

    Indicates whether the effective value of the Legend.Items property should be serialized during serialization of a Legend object.

    Namespace: DevExpress.Xpf.Charts

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

    NuGet Package: DevExpress.Wpf.Charts

    Declaration

    public bool ShouldSerializeItems(
        XamlDesignerSerializationManager manager
    )

    Parameters

    Name Type Description
    manager XamlDesignerSerializationManager

    A XamlDesignerSerializationManager object, which is the serialization service manager object for the Legend.

    Returns

    Type Description
    Boolean

    This property returns false to avoid serialization of the Legend.Items property using XamlWriter.

    See Also