36 references to Right
System.Windows.Forms (20)
System\Windows\Forms\Controls\DataGridView\DataGridViewUtilities.cs (7)
48
tff |= TextFormatFlags.
Right
;
67
tff |= TextFormatFlags.
Right
;
75
tff |= TextFormatFlags.
Right
;
94
tff |= TextFormatFlags.
Right
;
102
tff |= TextFormatFlags.
Right
;
121
tff |= TextFormatFlags.
Right
;
464
TextFormatFlags.
Right
|
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
421
textFlags |= (TextFormatFlags.
Right
| TextFormatFlags.RightToLeft);
System\Windows\Forms\Controls\GroupBox\GroupBoxRenderer.cs (6)
191
if ((flags & TextFormatFlags.
Right
) == TextFormatFlags.
Right
)
219
if ((flags & TextFormatFlags.
Right
) == TextFormatFlags.
Right
)
294
if ((flags & TextFormatFlags.
Right
) == TextFormatFlags.
Right
)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
698
flags |= TextFormatFlags.
Right
;
System\Windows\Forms\Controls\ListView\DrawListViewColumnHeaderEventArgs.cs (1)
130
TextFormatFlags.
Right
);
System\Windows\Forms\Controls\ListView\DrawListViewSubItemEventArgs.cs (1)
126
TextFormatFlags.
Right
);
System\Windows\Forms\Controls\TextBox\TextBox.cs (2)
881
flags |= TextFormatFlags.
Right
;
904
flags |= TextFormatFlags.
Right
;
System\Windows\Forms\Rendering\ControlPaint.cs (1)
2519
flags |= TextFormatFlags.
Right
;
System.Windows.Forms.Tests (16)
System\Windows\Forms\TextRendererTests.cs (5)
93
yield return new object[] { hint, text, SystemFonts.MenuFont, Point.Empty, Color.Red, TextFormatFlags.Bottom | TextFormatFlags.
Right
};
134
yield return new object[] { hint, text, SystemFonts.MenuFont, Point.Empty, Color.Red, Color.Blue, TextFormatFlags.Bottom | TextFormatFlags.
Right
};
241
yield return new object[] { hint, text, SystemFonts.MenuFont, new Rectangle(1, 2, 300, 400), Color.Red, TextFormatFlags.Bottom | TextFormatFlags.
Right
};
285
yield return new object[] { hint, text, SystemFonts.MenuFont, new Rectangle(1, 2, 300, 400), Color.Red, Color.Blue, TextFormatFlags.Bottom | TextFormatFlags.
Right
};
448
yield return new object[] { "string", SystemFonts.MenuFont, new Size(100, 200), TextFormatFlags.Bottom | TextFormatFlags.
Right
};
System\Windows\Forms\ToolStripButtonTests.cs (9)
1235
yield return new object[] { ContentAlignment.TopRight, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.
Right
| TextFormatFlags.Top | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
1236
yield return new object[] { ContentAlignment.TopRight, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.
Right
| TextFormatFlags.Top | TextFormatFlags.HidePrefix };
1237
yield return new object[] { ContentAlignment.TopRight, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.
Right
| TextFormatFlags.Top | TextFormatFlags.HidePrefix };
1245
yield return new object[] { ContentAlignment.MiddleRight, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.
Right
| TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
1246
yield return new object[] { ContentAlignment.MiddleRight, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.
Right
| TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix };
1247
yield return new object[] { ContentAlignment.MiddleRight, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.
Right
| TextFormatFlags.VerticalCenter | TextFormatFlags.HidePrefix };
1255
yield return new object[] { ContentAlignment.BottomRight, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.
Right
| TextFormatFlags.Bottom | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
1256
yield return new object[] { ContentAlignment.BottomRight, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.
Right
| TextFormatFlags.Bottom | TextFormatFlags.HidePrefix };
1257
yield return new object[] { ContentAlignment.BottomRight, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.
Right
| TextFormatFlags.Bottom | TextFormatFlags.HidePrefix };
System\Windows\Forms\ToolStripItemTextRenderEventArgsTests.cs (2)
39
yield return new object[] { new ToolStripButton(), "", new Rectangle(1, 2, 3, 4), Color.Red, SystemFonts.DefaultFont, ContentAlignment.BottomRight, TextFormatFlags.Default | TextFormatFlags.Bottom | TextFormatFlags.
Right
| TextFormatFlags.HidePrefix };
40
yield return new object[] { new ToolStripButton() { RightToLeft = RightToLeft.Yes }, "text", new Rectangle(1, 2, 3, 4), Color.Red, SystemFonts.DefaultFont, (ContentAlignment)(-1), TextFormatFlags.Default | TextFormatFlags.Bottom | TextFormatFlags.
Right
| TextFormatFlags.RightToLeft | TextFormatFlags.HidePrefix };