Skip to main content
All docs
V25.1
  • LegendBase Members

    The base class for treemap and sunburst legends.

    Properties

    Name Description
    BackColor Gets or sets the legend background color.
    BorderColor Gets or sets the legend border color.
    BorderWidth Gets or sets the legend border width in pixels.
    Direction Gets or sets the direction in which items are positioned in the legend.
    DXFont
    EquallySpacedItems Gets or sets whether to arrange legend items in left-aligned columns.
    Font Gets or sets the legend text font.
    HorizontalAlignment Gets or sets the legend’s horizontal alignment in the control.
    HorizontalIndent Gets or sets the horizontal indent between legend items in pixels.
    Margins Gets or sets the indents between the legend edges and other chart elements in pixels.
    Padding Gets or sets the indents between the legend’s edges and its content.
    TextColor Gets or sets the color for legend item text.
    TextOffset Gets or sets the distance between a legend item’s marker and description in pixels.
    Title Returns the legend’s title options.
    VerticalAlignment Gets or sets the legend’s vertical alignment in the control.
    VerticalIndent Gets or sets the vertical indent between legend items in pixels.
    Visible Specifies whether the legend is visible.

    Methods

    Name Description
    Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
    GetHashCode() Serves as the default hash function. Inherited from Object.
    GetType() Gets the Type of the current instance. Inherited from Object.
    MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    ToString() Returns a string that represents the current object. Inherited from Object.

    Events

    Name Description
    PropertyChanged Occurs when the legend’s property value is changed.
    See Also