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