61 references to Right
System.Windows.Forms (13)
System\Windows\Forms\Control.cs (2)
10507
return HorizontalAlignment.
Right
;
10509
else if (align == HorizontalAlignment.
Right
)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (1)
306
return HorizontalAlignment.
Right
;
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
338
_textAlign = HorizontalAlignment.
Right
;
System\Windows\Forms\Controls\ListView\ListView.cs (2)
5726
case HorizontalAlignment.
Right
:
5753
case HorizontalAlignment.
Right
:
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
686
selectionAlignment = HorizontalAlignment.
Right
;
715
case HorizontalAlignment.
Right
:
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
326
case HorizontalAlignment.
Right
:
System\Windows\Forms\Controls\TextBox\TextBox.cs (3)
299
case HorizontalAlignment.
Right
:
884
case HorizontalAlignment.
Right
:
903
case HorizontalAlignment.
Right
:
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
899
_pageCounter.TextAlign = HorizontalAlignment.
Right
;
System.Windows.Forms.Tests (47)
MaskedTextBoxTests.cs (2)
658
[InlineData(HorizontalAlignment.
Right
)]
698
control.TextAlign = HorizontalAlignment.
Right
;
System\Windows\Forms\ColumnHeaderCollectionTests.cs (3)
199
yield return new object[] { "text", 1, HorizontalAlignment.
Right
, "text" };
267
yield return new object[] { "name", "text", 1, HorizontalAlignment.
Right
, 1, "name", "text" };
292
yield 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)
6977
yield return new object[] { RightToLeft.Yes, HorizontalAlignment.Left, HorizontalAlignment.
Right
};
6978
yield return new object[] { RightToLeft.Yes, HorizontalAlignment.
Right
, HorizontalAlignment.Left };
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (12)
608
null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.
Right
, false
617
null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.
Right
, true
663
null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.
Right
, false
672
null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.
Right
, true
718
null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.
Right
, false
727
null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.
Right
, false
817
null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.
Right
, false
826
null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.
Right
, true
872
null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.
Right
, false
881
null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, true, HorizontalAlignment.
Right
, true
927
null, Color.FromArgb(0xFF, 0x00, 0x00, 0x00), Color.FromArgb(0xFF, 0x00, 0x00, 0x00), SystemColors.WindowText, false, HorizontalAlignment.
Right
, false
936
null, 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)
58
yield return new object[] { string.Empty, HorizontalAlignment.
Right
, string.Empty };
731
yield return new object[] { string.Empty, HorizontalAlignment.
Right
, 0x00000020 | (int)LIST_VIEW_GROUP_ALIGN_FLAGS.LVGA_HEADER_LEFT };
735
yield return new object[] { "footer", HorizontalAlignment.
Right
, 0x00000020 | (int)LIST_VIEW_GROUP_ALIGN_FLAGS.LVGA_HEADER_LEFT };
981
yield return new object[] { string.Empty, HorizontalAlignment.
Right
, 0x00000004 | (int)LIST_VIEW_GROUP_ALIGN_FLAGS.LVGA_FOOTER_LEFT };
985
yield return new object[] { "header", HorizontalAlignment.
Right
, 0x00000004 | (int)LIST_VIEW_GROUP_ALIGN_FLAGS.LVGA_FOOTER_LEFT };
System\Windows\Forms\ListViewTests.cs (8)
1876
yield return new object[] { showGroups, null, HorizontalAlignment.Left, null, HorizontalAlignment.
Right
, string.Empty, string.Empty, 0x00000021 };
1878
yield return new object[] { showGroups, null, HorizontalAlignment.
Right
, null, HorizontalAlignment.Left, string.Empty, string.Empty, 0x0000000C };
1880
yield return new object[] { showGroups, string.Empty, HorizontalAlignment.Left, string.Empty, HorizontalAlignment.
Right
, string.Empty, string.Empty, 0x00000021 };
1882
yield return new object[] { showGroups, string.Empty, HorizontalAlignment.
Right
, string.Empty, HorizontalAlignment.Left, string.Empty, string.Empty, 0x0000000C };
1884
yield return new object[] { showGroups, "header", HorizontalAlignment.Left, "footer", HorizontalAlignment.
Right
, "header", "footer", 0x00000021 };
1886
yield return new object[] { showGroups, "header", HorizontalAlignment.
Right
, "footer", HorizontalAlignment.Left, "header", "footer", 0x0000000C };
1888
yield return new object[] { showGroups, "he\0der", HorizontalAlignment.Left, "fo\0oter", HorizontalAlignment.
Right
, "he", "fo", 0x00000021 };
1890
yield return new object[] { showGroups, "he\0der", HorizontalAlignment.
Right
, "fo\0oter", HorizontalAlignment.Left, "he", "fo", 0x0000000C };
System\Windows\Forms\RichTextBoxTests.cs (2)
3677
yield 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)
423
tb.TextAlign = HorizontalAlignment.
Right
;
442
tb.TextAlign = HorizontalAlignment.
Right
;
WinFormsControlsTest (1)
DataGridViewTest.Designer.cs (1)
174
this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.
Right
;