61 references to Right
System.Windows.Forms (13)
System\Windows\Forms\Control.cs (2)
10535return HorizontalAlignment.Right; 10537else if (align == HorizontalAlignment.Right)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (1)
304return HorizontalAlignment.Right;
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
338_textAlign = HorizontalAlignment.Right;
System\Windows\Forms\Controls\ListView\ListView.cs (2)
5730case HorizontalAlignment.Right: 5757case HorizontalAlignment.Right:
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
686selectionAlignment = HorizontalAlignment.Right; 715case HorizontalAlignment.Right:
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
326case HorizontalAlignment.Right:
System\Windows\Forms\Controls\TextBox\TextBox.cs (3)
299case HorizontalAlignment.Right: 884case HorizontalAlignment.Right: 903case HorizontalAlignment.Right:
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
899_pageCounter.TextAlign = HorizontalAlignment.Right;
System.Windows.Forms.Tests (47)
MaskedTextBoxTests.cs (2)
659[InlineData(HorizontalAlignment.Right)] 699control.TextAlign = HorizontalAlignment.Right;
System\Windows\Forms\ColumnHeaderCollectionTests.cs (3)
199yield return new object[] { "text", 1, HorizontalAlignment.Right, "text" }; 267yield return new object[] { "name", "text", 1, HorizontalAlignment.Right, 1, "name", "text" }; 292yield return new object[] { "name", "text", 1, HorizontalAlignment.Right, "imageKey", "name", "text", "imageKey" };
System\Windows\Forms\ColumnHeaderTests.cs (9)
1024[InlineData(RightToLeft.Yes, false, HorizontalAlignment.Right)] 1123[InlineData(0, HorizontalAlignment.Right, HorizontalAlignment.Left)] 1126[InlineData(1, HorizontalAlignment.Right, HorizontalAlignment.Right)] 1148[InlineData(0, HorizontalAlignment.Right, HorizontalAlignment.Left)] 1151[InlineData(1, HorizontalAlignment.Right, HorizontalAlignment.Right)] 1186[InlineData(0, HorizontalAlignment.Right, 0x4000)] 1189[InlineData(1, HorizontalAlignment.Right, 0x4001)]
System\Windows\Forms\ControlTests.Methods.cs (2)
6986yield return new object[] { RightToLeft.Yes, HorizontalAlignment.Left, HorizontalAlignment.Right }; 6987yield return new object[] { RightToLeft.Yes, HorizontalAlignment.Right, HorizontalAlignment.Left };
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (12)
608null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Right, false 617null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Right, true 663null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Right, false 672null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Right, true 718null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Right, false 727null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Right, false 817null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Right, false 826null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Right, true 872null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Right, false 881null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Right, true 927null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.Right, false 936null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.Right, false
System\Windows\Forms\DrawListViewColumnHeaderEventArgsTests.cs (1)
84[InlineData(HorizontalAlignment.Right)]
System\Windows\Forms\ListViewGroupTests.cs (5)
58yield return new object[] { string.Empty, HorizontalAlignment.Right, string.Empty }; 732yield return new object[] { string.Empty, HorizontalAlignment.Right, 0x00000020 | (int)LIST_VIEW_GROUP_ALIGN_FLAGS.LVGA_HEADER_LEFT }; 736yield return new object[] { "footer", HorizontalAlignment.Right, 0x00000020 | (int)LIST_VIEW_GROUP_ALIGN_FLAGS.LVGA_HEADER_LEFT }; 984yield return new object[] { string.Empty, HorizontalAlignment.Right, 0x00000004 | (int)LIST_VIEW_GROUP_ALIGN_FLAGS.LVGA_FOOTER_LEFT }; 988yield return new object[] { "header", HorizontalAlignment.Right, 0x00000004 | (int)LIST_VIEW_GROUP_ALIGN_FLAGS.LVGA_FOOTER_LEFT };
System\Windows\Forms\ListViewTests.cs (8)
1876yield return new object[] { showGroups, null, HorizontalAlignment.Left, null, HorizontalAlignment.Right, string.Empty, string.Empty, 0x00000021 }; 1878yield return new object[] { showGroups, null, HorizontalAlignment.Right, null, HorizontalAlignment.Left, string.Empty, string.Empty, 0x0000000C }; 1880yield return new object[] { showGroups, string.Empty, HorizontalAlignment.Left, string.Empty, HorizontalAlignment.Right, string.Empty, string.Empty, 0x00000021 }; 1882yield return new object[] { showGroups, string.Empty, HorizontalAlignment.Right, string.Empty, HorizontalAlignment.Left, string.Empty, string.Empty, 0x0000000C }; 1884yield return new object[] { showGroups, "header", HorizontalAlignment.Left, "footer", HorizontalAlignment.Right, "header", "footer", 0x00000021 }; 1886yield return new object[] { showGroups, "header", HorizontalAlignment.Right, "footer", HorizontalAlignment.Left, "header", "footer", 0x0000000C }; 1888yield return new object[] { showGroups, "he\0der", HorizontalAlignment.Left, "fo\0oter", HorizontalAlignment.Right, "he", "fo", 0x00000021 }; 1890yield return new object[] { showGroups, "he\0der", HorizontalAlignment.Right, "fo\0oter", HorizontalAlignment.Left, "he", "fo", 0x0000000C };
System\Windows\Forms\RichTextBoxTests.cs (2)
3677yield return new object[] { PFM.ALIGNMENT, PFA.RIGHT, HorizontalAlignment.Right }; 3766[InlineData(HorizontalAlignment.Right, 2)]
System\Windows\Forms\ToolStripTextBoxTests.cs (1)
334[InlineData(HorizontalAlignment.Right)]
TextBoxTests.cs (2)
423tb.TextAlign = HorizontalAlignment.Right; 442tb.TextAlign = HorizontalAlignment.Right;
WinFormsControlsTest (1)
DataGridViewTest.Designer.cs (1)
174this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;