Ticks Property

TickBar.Ticks Property


Gets or sets the positions of the tick marks.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

public DoubleCollection Ticks { get; set; }

Property Value

Type: System.Windows.Media.DoubleCollection

A DoubleCollection that specifies the locations of the tick marks. The default value is null.

Tick marks that are defined by the Ticks property and that are outside the range that is defined by the Minimum and Maximum property values do not appear.

When the Ticks property is set, the TickFrequency property is not used.

Identifier field


Metadata properties set to true


.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft