29 references to Orientation
System.Windows.Forms (29)
winforms\Managed\System\WinForms\StatusStrip.cs (6)
89
if (
Orientation
== Orientation.Horizontal) {
314
if (
Orientation
== Orientation.Horizontal) {
373
bool rightToLeft = ((
Orientation
== Orientation.Horizontal) && (RightToLeft == RightToLeft.Yes));
451
if (lastOrientation !=
Orientation
) {
458
lastOrientation =
Orientation
;
460
if (
Orientation
== Orientation.Horizontal) {
winforms\Managed\System\WinForms\ToolStrip.cs (8)
701
if (
Orientation
== Orientation.Vertical) {
853
if (
Orientation
== Orientation.Horizontal) {
1340
switch (this.
Orientation
) {
3192
if (IsDropDown ||
Orientation
!= Orientation.Horizontal) {
3936
if (
Orientation
== Orientation.Horizontal) {
4288
if (
Orientation
== Orientation.Horizontal) {
5543
if (owner.
Orientation
== Orientation.Horizontal) {
5560
if (owner.
Orientation
== Orientation.Vertical) {
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (3)
57
int height = (toolStrip.
Orientation
== Orientation.Horizontal) ? bounds.Height : bounds.Width;
58
int width = (toolStrip.
Orientation
== Orientation.Horizontal) ? bounds.Width : bounds.Height;
68
shadowRects[i] = (toolStrip.
Orientation
== Orientation.Horizontal) ?
winforms\Managed\System\WinForms\ToolStripOverflowButton.cs (2)
109
if (this.ParentInternal.
Orientation
== Orientation.Horizontal) {
123
if (ParentInternal.
Orientation
== Orientation.Horizontal) {
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (10)
154
bool horizontal = (e.ToolStrip.
Orientation
== Orientation.Horizontal);
379
if (toolStrip.
Orientation
== Orientation.Horizontal) {
407
if (toolStrip.
Orientation
== Orientation.Horizontal) {
437
int height = (toolStrip.
Orientation
== Orientation.Horizontal) ? bounds.Height : bounds.Width;
438
int width = (toolStrip.
Orientation
== Orientation.Horizontal) ? bounds.Width : bounds.Height;
452
shadowRects[i] = (toolStrip.
Orientation
== Orientation.Horizontal) ?
903
RenderBackgroundGradient(e.Graphics, statusStrip, ColorTable.StatusStripGradientBegin, ColorTable.StatusStripGradientEnd, statusStrip.
Orientation
);
952
RenderBackgroundGradient(e.Graphics, e.ToolStrip, ColorTable.MenuStripGradientBegin, ColorTable.MenuStripGradientEnd, e.ToolStrip.
Orientation
);
1017
LinearGradientMode mode = (toolStrip.
Orientation
== Orientation.Horizontal) ? LinearGradientMode.Vertical : LinearGradientMode.Horizontal;
1060
bool horizontal = (e.ToolStrip.
Orientation
== Orientation.Horizontal);