Skip to main content
A newer version of this page is available. .

LegendModel Members

The Legend model.

Properties

Name Description
Alignment Gets or sets the model alignment of the legend.
AlignmentHorizontal Gets or sets the value of the Legend.AlignmentHorizontal within the model.
AlignmentVertical Gets or sets the value of the Legend.AlignmentVertical within the model.
AllowAddChild Gets or sets the value indicating whether a child model item can be added. Inherited from ChartElementModel.
AllowChangeVisibility Gets or sets the value indicating whether changing the element visibility is allowed. Inherited from ChartElementModel.
AllowRemove Gets or sets the value indicating whether removing an element is allowed. Inherited from ChartElementModel.
BackColor Gets or sets the value of the Legend.BackColor within the model.
BackImage Returns the model of the background image of the modeled legend
Border Returns the model of the border of the modeled legend.
ChartElement Returns the modeled chart element. Inherited from ChartElementModel.
Children Returns the list of child chart elements. Inherited from ChartElementModel.
CrosshairContentOffset Gets or sets the Legend.CrosshairContentOffset property value within the model.
CustomItems Returns the model of the custom legend item collection of the modeled legend.
Direction Gets or sets the value of the Legend.Direction within the model.
DockTarget Gets or sets the model of the chart element that is the dock target of the modeled legend.
Element Returns the chart element whose model is the current model object. Inherited from ChartElementModel.
EnableAntialiasing Gets or sets the value of the Legend.EnableAntialiasing within the model.
EquallySpacedItems Gets or sets the value of the Legend.EquallySpacedItems within the model.
FillStyle Returns the model of the fill style of the modeled legend.
Font Gets or sets the value of the Legend.Font within the model.
HorizontalIndent Gets or sets the value of the Legend.HorizontalIndent within the model.
ItemVisibilityMode Gets or sets the value of the Legend.ItemVisibilityMode within the model.
Margins Returns the model of the margins of the modeled legend.
MarkerHeight Gets or sets the height of the Legend.MarkerSize within the model.
MarkerMode Gets or sets the value of the Legend.MarkerMode property within the chart model.
MarkerOffset Gets or sets the Legend.MarkerOffset property value within the model.
MarkerSize Gets or sets the value of the Legend.MarkerSize within the model.
MarkerVisible Gets or sets the value that specifies the Legend.MarkerVisible property in the chart model.
MarkerWidth Gets or sets the width of the Legend.MarkerSize within the model.
MaxCrosshairContentHeight Gets or sets the value that specifies the LegendModel.MaxCrosshairContentHeight property within the chart model.
MaxCrosshairContentWidth Gets or sets the value that specifies the LegendModel.MaxCrosshairContentHeight property within the chart model.
MaxHorizontalPercentage Gets or sets the value of the Legend.MaxHorizontalPercentage within the model.
MaxVerticalPercentage Gets or sets the value of the Legend.MaxVerticalPercentage within the model.
Name Gets or sets the name of the modeled legend.
Padding Gets or sets the model of the padding used by the modeled legend.
Shadow Returns the model of the shadow of the modeled legend.
ShowInStructureControl Gets or sets the value specifying whether the chart element should be shown in the Structure control of the Chart Designer. Inherited from ChartElementModel.
Tag Gets or sets the value of the ChartElement.Tag within the model. Inherited from ChartElementModel.
TextColor Gets or sets the Legend.TextColor of the modeled legend.
TextOffset Gets or sets the value of the Legend.TextOffset within the model.
TextVisible Gets or sets the value of the Legend.TextVisible within the model.
Title Returns the model of the title of the modeled legend.
UseCheckBoxes Gets or sets the value that specifies the Legend.UseCheckBoxes property within the chart model.
VerticalIndent Gets or sets the value of the Legend.VerticalIndent within the model.
Visibility Gets or sets the value of the Legend.Visibility within the model.

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 the textual representation of the ChartElementModel. Inherited from ChartElementModel.
See Also