7 references to TickFrequency
PresentationFramework (7)
src\Framework\System\Windows\Controls\Slider.cs (7)
1138
else if (DoubleUtil.GreaterThan(
TickFrequency
, 0.0))
1140
previous = Minimum + (Math.Round(((value - Minimum) /
TickFrequency
)) *
TickFrequency
);
1141
next = Math.Min(Maximum, previous +
TickFrequency
);
1196
else if (DoubleUtil.GreaterThan(
TickFrequency
, 0.0))
1199
double tickNumber = Math.Round((value - Minimum) /
TickFrequency
);
1206
next = Minimum + tickNumber *
TickFrequency
;