Skip to main content
All docs
V26.1
  • AxisBase.MinorTickMark Property

    Gets or sets the minor tick mark position type.

    Namespace: DevExpress.Docs.Office

    Assembly: DevExpress.Docs.Core.v26.1.dll

    Declaration

    public AxisTickMarkType MinorTickMark { get; set; }

    Property Value

    Type Description
    AxisTickMarkType

    The minor tick mark position type.

    Available values:

    Name
    Cross
    Inside
    None
    Outside

    Example

    Use the Axis.MajorTickMark and Axis.MinorTickMark properties to specify the tick mark type for major and minor ticks. Possible values are None, Inside, Outside, and Cross:

    using DevExpress.Docs.Office;
    
        CategoryAxis? xAxis = chart.ArgumentAxis as CategoryAxis;
        if (xAxis != null) {
            xAxis.MajorTickMark = AxisTickMarkType.Cross;
            xAxis.MinorTickMark = AxisTickMarkType.Inside;
        }
    
    See Also