Skip to main content
All docs
V24.1

LegendBase.MarkerOffset Property

Gets or sets the offset between a marker and check box, when both are displayed in the legend.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
[XtraSerializableProperty]
public int MarkerOffset { get; set; }

Property Value

Type Description
Int32

The integer value specifying the gap between markers and check boxes in the legend.

Remarks

The following image demonstrates all offsets and indents within a legend.

TextOffset

Note that if the Legend.MarkerMode is not set to MarkerAndCheckBox or CheckBoxAndMarker, this property is not taken into account when items are laid out.

See Also