19 references to TrackBarRenderer
System.Windows.Forms.Tests (19)
System\Windows\Forms\TrackBarRendererTests.cs (19)
31
bool isSupported =
TrackBarRenderer
.IsSupported;
44
TestDrawTrack(
TrackBarRenderer
.DrawHorizontalTrack, new Rectangle(0, 0, 100, 10));
45
TestDrawTrack(
TrackBarRenderer
.DrawVerticalTrack, new Rectangle(0, 0, 10, 100));
68
TestDrawTrackWithInvalidBounds(
TrackBarRenderer
.DrawHorizontalTrack, invalidBounds);
69
TestDrawTrackWithInvalidBounds(
TrackBarRenderer
.DrawVerticalTrack, invalidBounds);
84
TestDrawThumb(
TrackBarRenderer
.DrawHorizontalThumb, bounds, state);
85
TestDrawThumb(
TrackBarRenderer
.DrawVerticalThumb, bounds, state);
97
TestGetThumbSize(
TrackBarRenderer
.GetLeftPointingThumbSize);
98
TestGetThumbSize(
TrackBarRenderer
.GetRightPointingThumbSize);
99
TestGetThumbSize(
TrackBarRenderer
.GetTopPointingThumbSize);
100
TestGetThumbSize(
TrackBarRenderer
.GetBottomPointingThumbSize);
117
TestDrawTicks(
TrackBarRenderer
.DrawHorizontalTicks, horizontalBounds, tickCount, edgeStyle);
118
TestDrawTicks(
TrackBarRenderer
.DrawVerticalTicks, verticalBounds, tickCount, edgeStyle);
147
TestDrawTicksWithInvalidParameters(
TrackBarRenderer
.DrawHorizontalTicks, Bounds, invalidTickCounts, invalidBounds);
148
TestDrawTicksWithInvalidParameters(
TrackBarRenderer
.DrawVerticalTicks, Bounds, invalidTickCounts, invalidBounds);
157
TrackBarRenderer
.DrawLeftPointingThumb,
158
TrackBarRenderer
.DrawRightPointingThumb,
159
TrackBarRenderer
.DrawTopPointingThumb,
160
TrackBarRenderer
.DrawBottomPointingThumb