Skip to main content

CustomLegendItem Members

An individual custom legend item.

Constructors

Name Description
CustomLegendItem() Initializes a new instance of the CustomLegendItem class with the default settings.
CustomLegendItem(String, String) Initializes a new instance of the CustomLegendItem class with the specified name and text.
CustomLegendItem(String) Initializes a new instance of the CustomLegendItem class with the specified name.

Properties

Name Description
CustomLegendItemID
DXFont Gets or sets the font used to display the custom legend item content.
Font Gets or sets the font used to display the custom legend item content.
MarkerColor Gets or sets the color of a custom legend item marker.
MarkerImage Returns the custom legend item’s marker image.
MarkerImageSizeMode Gets or sets the custom legend item marker image size mode.
MarkerSize Gets or sets the marker’s height and width.
MarkerVisible Gets or sets the value indicating whether or not the custom legend item marker is visible.
Name Gets or sets the name of the chart element. Inherited from ChartElementNamed.
Tag Gets or sets the object that contains data related to the chart element. Inherited from ChartElement.
Text Gets or sets the text the custom legend item displays.
TextColor Gets or sets the custom legend item text color.
TextVisible Gets or sets the value indicating whether or not the custom legend item text is visible.

Methods

Name Description
Assign(ChartElement) Copies all the settings from the CustomLegendItem object passed as the parameter.
Clone() Creates a copy of the current ChartElement object. Inherited from ChartElement.
Dispose() Releases all resources used by the CustomLegendItem object.
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 the textual representation of the named chart element. Inherited from ChartElementNamed.
See Also