.NET Framework (current version)
Gets or sets the interval between tick marks.
PresentationFramework (in PresentationFramework.dll)
member TickFrequency : float with get, set
The distance between tick marks. The default is (1.0).
property is set to a value that is not Ticks null, the property is not used. TickFrequency
property must be set to a value other than TickPlacement None for tick marks to appear along the Slider.
Tick marks are drawn at an interval that is specified by the
property. The tick marks start at the value of the TickFrequency property and continue until the value of the Minimum property is reached. Maximum
The following example shows how to set the
No code example is currently available or this language may not be supported.
< Slider Name = " slider1 "
Width = " 100 "
Orientation = " Horizontal " HorizontalAlignment = " Left "
IsSnapToTickEnabled = " True " Minimum = " 1 " Maximum = " 20 "
TickPlacement = " Both " TickFrequency = " 2 "
AutoToolTipPlacement = " BottomRight " />
Available since 3.0 Return to top