Back to Devexpress

CustomLegendItem Members

corelibraries-devexpress-dot-xtracharts-dot-customlegenditem-dot-underscore-members.md

latest5.8 KB
Original Source

CustomLegendItem Members

An individual custom legend item.

Constructors

NameDescription
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

NameDescription
CustomLegendItemID
DXFontGets or sets the font used to display the custom legend item content.
FontGets or sets the font used to display the custom legend item content.
MarkerColorGets or sets the color of a custom legend item marker.
MarkerImageReturns the custom legend item’s marker image.
MarkerImageSizeModeGets or sets the custom legend item marker image size mode.
MarkerSizeGets or sets the marker’s height and width.
MarkerVisibleGets or sets the value indicating whether or not the custom legend item marker is visible.
NameGets or sets the name of the chart element. Inherited from ChartElementNamed.
TagGets or sets the object that contains data related to the chart element. Inherited from ChartElement.
TextGets or sets the text the custom legend item displays.
TextColorGets or sets the custom legend item text color.
TextVisibleGets or sets the value indicating whether or not the custom legend item text is visible.

Methods

NameDescription
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) staticDetermines 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines 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

CustomLegendItem Class

DevExpress.XtraCharts Namespace