47 references to ToolStrip
System.Windows.Forms (47)
winforms\Managed\System\WinForms\ToolStripGripRenderEventArgs.cs (3)
29
return
ToolStrip
.GripRectangle;
40
return
ToolStrip
.GripDisplayStyle;
50
return
ToolStrip
.GripStyle;
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (7)
55
ToolStrip toolStrip = e.
ToolStrip
;
227
Rectangle bounds = new Rectangle(Point.Empty, e.
ToolStrip
.Size);
231
if (e.
ToolStrip
is ToolStripDropDown) {
235
if (!(e.
ToolStrip
is ToolStripOverflow)) {
241
else if (e.
ToolStrip
is MenuStrip) {
244
else if (e.
ToolStrip
is StatusStrip) {
254
Rectangle bounds = new Rectangle(Point.Empty, e.
ToolStrip
.Size);
winforms\Managed\System\WinForms\ToolStripProfessionalLowResolutionRenderer.cs (5)
18
if( e.
ToolStrip
is ToolStripDropDown ) {
25
if(e.
ToolStrip
is MenuStrip) {
28
else if (e.
ToolStrip
is StatusStrip ) {
31
else if (e.
ToolStrip
is ToolStripDropDown) {
41
Rectangle bounds = new Rectangle(Point.Empty, e.
ToolStrip
.Size);
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (21)
118
ToolStrip toolStrip = e.
ToolStrip
;
362
ToolStrip toolStrip = e.
ToolStrip
;
429
ScaleObjectSizesIfNeeded(e.
ToolStrip
.DeviceDpi);
433
ToolStrip toolStrip = e.
ToolStrip
;
435
bool rightToLeft = (e.
ToolStrip
.RightToLeft == RightToLeft.Yes);
608
ScaleObjectSizesIfNeeded(e.
ToolStrip
.DeviceDpi);
614
RightToLeft rightToLeft = e.
ToolStrip
.RightToLeft;
618
FillWithDoubleGradient(begin, ColorTable.ImageMarginGradientMiddle, end, e.Graphics, bounds, iconWellGradientWidth, iconWellGradientWidth, LinearGradientMode.Horizontal, /*flipHorizontal=*/(e.
ToolStrip
.RightToLeft == RightToLeft.Yes));
790
ToolStrip toolStrip = e.
ToolStrip
;
898
e.Graphics.DrawLine(SystemPens.ButtonHighlight, 0,0,e.
ToolStrip
.Width, 0);
902
StatusStrip statusStrip = e.
ToolStrip
as StatusStrip;
952
RenderBackgroundGradient(e.Graphics, e.
ToolStrip
, ColorTable.MenuStripGradientBegin, ColorTable.MenuStripGradientEnd, e.
ToolStrip
.Orientation);
1010
ScaleObjectSizesIfNeeded(e.
ToolStrip
.DeviceDpi);
1012
ToolStrip toolStrip = e.
ToolStrip
;
1014
Rectangle bounds = new Rectangle(Point.Empty, e.
ToolStrip
.Size);
1023
ToolStrip toolStrip = e.
ToolStrip
;
1024
Rectangle bounds = new Rectangle(Point.Empty, e.
ToolStrip
.Size);
1032
ToolStripDropDown toolStripDropDown = e.
ToolStrip
as ToolStripDropDown;
1155
Rectangle bounds = new Rectangle(Point.Empty, e.
ToolStrip
.Size);
1156
ToolStrip toolStrip = e.
ToolStrip
;
winforms\Managed\System\WinForms\ToolStripRenderer.cs (1)
1018
StatusStrip statusStrip = e.
ToolStrip
as StatusStrip;
winforms\Managed\System\WinForms\ToolStripRenderEventArgs.cs (2)
114
Rectangle bounds =
ToolStrip
.Bounds;
116
Rectangle overlap =
ToolStrip
.ClientRectangle;
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (8)
174
ToolStrip toolStrip = e.
ToolStrip
;
219
ToolStrip toolStrip = e.
ToolStrip
;
221
Rectangle bounds = e.
ToolStrip
.ClientRectangle;
278
Color backColor = e.
ToolStrip
.BackColor;
294
RenderSmall3DBorderInternal(g, bounds, ToolBarState.Hot, (e.
ToolStrip
.RightToLeft == RightToLeft.Yes));
680
e.Graphics.DrawLine(SystemPens.ButtonHighlight, 0,0,e.
ToolStrip
.Width, 0);
688
vsRenderer.DrawBackground(e.Graphics,new Rectangle(0,0,e.
ToolStrip
.Width-1, e.
ToolStrip
.Height-1));