Skip to main content

Legend.MarkerMode Property

Gets or sets the value indicating the marker type which the legend displays.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public LegendMarkerMode MarkerMode { get; set; }

Property Value

Type Description
LegendMarkerMode

The value that specifies marker mode.

Available values:

Name Description
Marker

Only markers are shown in the legend.

LegendMarkerMode_Marker

CheckBox

Only check boxes are shown in the legend.

LegendMarkerMode_CheckBox

CheckBoxAndMarker

Check boxes and markers are shown in the legend simultaneously (check boxes are positioned in front of markers).

LegendMarkerMode_CheckBoxAndMarker

MarkerAndCheckBox

Markers and check boxes are shown in the legend simultaneously (markers are positioned in front of check boxes).

LegendMarkerMode_MarkerAndCheckBox

None

No check boxes or markers are shown in the legend.

LegendMarkerMode_None

Remarks

To specify this property, use the LegendMarkerMode enumeration values. The following table lists all the possible values of the MarkerMode property.

Value Image Description
LegendMarkerMode.CheckBox LegendMarkerMode_CheckBox Only check boxes are shown in the legend.
LegendMarkerMode.CheckBoxAndMarker LegendMarkerMode_CheckBoxesAndMarkers Check boxes and markers are shown in the legend simultaneously (check boxes are positioned in front of markers).
LegendMarkerMode.Marker LegendMarkerMode_Markers Only markers are shown in the legend.
LegendMarkerMode.MarkerAndCheckBox LegendMarkerMode_MarkerAndCheckBoxes Markers and check boxes are shown in the legend simultaneously (markers are positioned in front of check boxes).
LegendMarkerMode.None LegendMarkerMode_None No check boxes or markers are shown in the legend.
See Also