Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MajorTickmarkOptions.ShowFirst Property

Gets or sets a value indicating whether the fitst major tickmark should be shown on a scale.

Namespace: DevExpress.Xpf.Gauges

Assembly: DevExpress.Xpf.Gauges.v24.2.dll

NuGet Package: DevExpress.Wpf.Gauges

#Declaration

public bool ShowFirst { get; set; }

#Property Value

Type Description
Boolean

true to display the first major tickmark; otherwise false.

#Property Paths

You can access this nested property as listed below:

Object Type Path to ShowFirst
Scale
.MajorTickmarkOptions .ShowFirst

#Remarks

Use the ShowFirst and MajorTickmarkOptions.ShowLast properties to show or hide the first and last major tickmarks on a scale.

The table below illustrates the property behavior.

ShowFirst = True ShowFirst = False
MajorTickmark_ShowFirst-True MajorTickmarks_ShowFirst-False

For more information on major tickmarks, refer to the tickmarks (Circular scale) and tickmarks (Linear scale) documents.

See Also