256 references to Right
System.Windows.Forms (6)
System\Windows\Forms\Controls\Splitter\Splitter.cs (2)
746
if (target.
Right
== Left)
753
if (target.Left ==
Right
)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (2)
423
return new Point(toolStripToDrag.
Right
, toolStripToDrag.Top);
529
controlLocations[j] = new Point(row.Bounds.Width - control.
Right
, control.Top);
System\Windows\Forms\ErrorProvider\ErrorProvider.ControlItem.cs (1)
221
x = _control.
Right
+ _iconPadding;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
1360
_splitterRect.X =
Right
- SplitterDistanceInternal - SplitterWidthInternal;
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
107
Assert.True(control.
Right
> 0);
System.Windows.Forms.Tests (249)
System\Windows\Forms\AxHostTests.cs (2)
100
Assert.Equal(75, control.
Right
);
194
Assert.Equal(75, control.
Right
);
System\Windows\Forms\ButtonBaseTests.cs (1)
102
Assert.Equal(75, control.
Right
);
System\Windows\Forms\ButtonTests.cs (1)
100
Assert.Equal(75, control.
Right
);
System\Windows\Forms\CheckBoxTests.cs (1)
102
Assert.Equal(104, control.
Right
);
System\Windows\Forms\ComboBoxTests.cs (1)
112
Assert.Equal(121, control.
Right
);
System\Windows\Forms\ContainerControlTests.cs (1)
105
Assert.Equal(0, control.
Right
);
System\Windows\Forms\ControlTests.cs (5)
83
Assert.Equal(0, control.
Right
);
172
Assert.Equal(0, control.
Right
);
268
Assert.Equal(left + width, control.
Right
);
364
Assert.Equal(0, control.
Right
);
460
Assert.Equal(left + width, control.
Right
);
System\Windows\Forms\ControlTests.Methods.cs (74)
7430
Assert.Equal(x + width, control.
Right
);
7449
Assert.Equal(x + width, control.
Right
);
7541
Assert.Equal(x + expectedWidth, control.
Right
);
7560
Assert.Equal(x + expectedWidth, control.
Right
);
7639
Assert.Equal(x + width, control.
Right
);
7658
Assert.Equal(x + width, control.
Right
);
7757
Assert.Equal(x + width, control.
Right
);
7777
Assert.Equal(x + width, control.
Right
);
7880
Assert.Equal(x + expectedWidth, control.
Right
);
7902
Assert.Equal(x + expectedWidth, control.
Right
);
8028
Assert.Equal(x + expectedWidth, control.
Right
);
8055
Assert.Equal(x + expectedWidth, control.
Right
);
8217
Assert.Equal(expectedX + expectedWidth, control.
Right
);
8236
Assert.Equal(expectedX + expectedWidth, control.
Right
);
8328
Assert.Equal(x + expectedWidth, control.
Right
);
8347
Assert.Equal(x + expectedWidth, control.
Right
);
8426
Assert.Equal(expectedX + expectedWidth, control.
Right
);
8445
Assert.Equal(expectedX + expectedWidth, control.
Right
);
8614
Assert.Equal(expectedX + expectedWidth, control.
Right
);
8634
Assert.Equal(expectedX + expectedWidth, control.
Right
);
8737
Assert.Equal(x + expectedWidth, control.
Right
);
8759
Assert.Equal(x + expectedWidth, control.
Right
);
8885
Assert.Equal(x + expectedWidth, control.
Right
);
8912
Assert.Equal(x + expectedWidth, control.
Right
);
9031
Assert.Equal(x + width, control.
Right
);
9052
Assert.Equal(x + width, control.
Right
);
9173
Assert.Equal(x + expectedWidth, control.
Right
);
9194
Assert.Equal(x + expectedWidth, control.
Right
);
9302
Assert.Equal(x + width, control.
Right
);
9323
Assert.Equal(x + width, control.
Right
);
9439
Assert.Equal(x + width, control.
Right
);
9461
Assert.Equal(x + width, control.
Right
);
9594
Assert.Equal(x + expectedWidth, control.
Right
);
9618
Assert.Equal(x + expectedWidth, control.
Right
);
9752
Assert.Equal(x + expectedWidth, control.
Right
);
9781
Assert.Equal(x + expectedWidth, control.
Right
);
9863
Assert.Equal(expectedSize.Width, control.
Right
);
9879
Assert.Equal(expectedSize.Width, control.
Right
);
9911
Assert.Equal(expectedSize.Width, control.
Right
);
9930
Assert.Equal(expectedSize.Width, control.
Right
);
10386
Assert.Equal(0, control.
Right
);
10405
Assert.Equal(0, control.
Right
);
10453
Assert.True(control.
Right
> 0);
10486
Assert.True(control.
Right
> 0);
10560
Assert.Equal(0, control.
Right
);
10579
Assert.Equal(0, control.
Right
);
10652
Assert.Equal(0, control.
Right
);
10671
Assert.Equal(0, control.
Right
);
10743
Assert.Equal(0, control.
Right
);
10765
Assert.Equal(0, control.
Right
);
10810
Assert.Equal(4, control.
Right
);
10832
Assert.Equal(4, control.
Right
);
10888
Assert.Equal(4, control.
Right
);
10914
Assert.Equal(4, control.
Right
);
11000
Assert.Equal(x + width, control.
Right
);
11019
Assert.Equal(x + width, control.
Right
);
11111
Assert.Equal(x + width, control.
Right
);
11130
Assert.Equal(x + width, control.
Right
);
11209
Assert.Equal(x + width, control.
Right
);
11228
Assert.Equal(x + width, control.
Right
);
11318
Assert.Equal(x + width, control.
Right
);
11338
Assert.Equal(x + width, control.
Right
);
11441
Assert.Equal(x + width, control.
Right
);
11463
Assert.Equal(x + width, control.
Right
);
11570
Assert.Equal(x + width, control.
Right
);
11597
Assert.Equal(x + width, control.
Right
);
11695
Assert.Equal(x + width, control.
Right
);
11714
Assert.Equal(x + width, control.
Right
);
11804
Assert.Equal(x + width, control.
Right
);
11824
Assert.Equal(x + width, control.
Right
);
11939
Assert.Equal(x + width, control.
Right
);
11961
Assert.Equal(x + width, control.
Right
);
12068
Assert.Equal(x + width, control.
Right
);
12095
Assert.Equal(x + width, control.
Right
);
System\Windows\Forms\ControlTests.Properties.cs (64)
2483
Assert.Equal(x + width, control.
Right
);
2502
Assert.Equal(x + width, control.
Right
);
2572
Assert.Equal(x + expectedWidth, control.
Right
);
2591
Assert.Equal(x + expectedWidth, control.
Right
);
2657
Assert.Equal(x + width, control.
Right
);
2676
Assert.Equal(x + width, control.
Right
);
2762
Assert.Equal(x + width, control.
Right
);
2782
Assert.Equal(x + width, control.
Right
);
2862
Assert.Equal(x + expectedWidth, control.
Right
);
2884
Assert.Equal(x + expectedWidth, control.
Right
);
2987
Assert.Equal(x + expectedWidth, control.
Right
);
3014
Assert.Equal(x + expectedWidth, control.
Right
);
3386
Assert.Equal(expectedSize.Width, control.
Right
);
3402
Assert.Equal(expectedSize.Width, control.
Right
);
3449
Assert.Equal(expectedSize.Width, control.
Right
);
3468
Assert.Equal(expectedSize.Width, control.
Right
);
5733
Assert.Equal(0, control.
Right
);
5752
Assert.Equal(0, control.
Right
);
5843
Assert.Equal(expectedWidth, control.
Right
);
5862
Assert.Equal(expectedWidth, control.
Right
);
5931
Assert.Equal(0, control.
Right
);
5950
Assert.Equal(0, control.
Right
);
6039
Assert.Equal(0, control.
Right
);
6059
Assert.Equal(0, control.
Right
);
6151
Assert.Equal(0, control.
Right
);
6173
Assert.Equal(0, control.
Right
);
6288
Assert.Equal(0, control.
Right
);
6315
Assert.Equal(0, control.
Right
);
6696
Assert.Equal(value, control.
Right
);
6718
Assert.Equal(value, control.
Right
);
6886
Assert.Equal(value, control.
Right
);
6911
Assert.Equal(value, control.
Right
);
7177
Assert.Equal(value.X, control.
Right
);
7199
Assert.Equal(value.X, control.
Right
);
7267
Assert.Equal(value.X, control.
Right
);
7290
Assert.Equal(value.X, control.
Right
);
7369
Assert.Equal(value.X, control.
Right
);
7394
Assert.Equal(value.X, control.
Right
);
7480
Assert.Equal(value.X, control.
Right
);
7510
Assert.Equal(value.X, control.
Right
);
11117
Assert.Equal(value.Width, control.
Right
);
11136
Assert.Equal(value.Width, control.
Right
);
11228
Assert.Equal(expectedWidth, control.
Right
);
11247
Assert.Equal(expectedWidth, control.
Right
);
11323
Assert.Equal(value.Width, control.
Right
);
11342
Assert.Equal(value.Width, control.
Right
);
11438
Assert.Equal(value.Width, control.
Right
);
11458
Assert.Equal(value.Width, control.
Right
);
11555
Assert.Equal(expectedWidth, control.
Right
);
11577
Assert.Equal(expectedWidth, control.
Right
);
11697
Assert.Equal(expectedWidth, control.
Right
);
11724
Assert.Equal(expectedWidth, control.
Right
);
13152
Assert.Equal(value, control.
Right
);
13171
Assert.Equal(value, control.
Right
);
13262
Assert.Equal(expectedWidth, control.
Right
);
13281
Assert.Equal(expectedWidth, control.
Right
);
13350
Assert.Equal(value, control.
Right
);
13369
Assert.Equal(value, control.
Right
);
13458
Assert.Equal(value, control.
Right
);
13478
Assert.Equal(value, control.
Right
);
13570
Assert.Equal(expectedWidth, control.
Right
);
13592
Assert.Equal(expectedWidth, control.
Right
);
13707
Assert.Equal(expectedWidth, control.
Right
);
13734
Assert.Equal(expectedWidth, control.
Right
);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
106
Assert.Equal(100, control.
Right
);
System\Windows\Forms\DateTimePickerTests.cs (1)
104
Assert.Equal(200, control.
Right
);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
137
Assert.Equal(control.Width, control.
Right
);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
107
Assert.Equal(200, control.
Right
);
System\Windows\Forms\DomainUpDownTests.cs (1)
129
_sub.
Right
.Should().Be(120);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
99
Assert.Equal(200, control.
Right
);
System\Windows\Forms\FormTests.cs (1)
139
Assert.Equal(300, control.
Right
);
System\Windows\Forms\GroupBoxTests.cs (1)
87
Assert.Equal(200, control.
Right
);
System\Windows\Forms\HScrollBarTests.cs (1)
98
Assert.True(control.
Right
> 0);
System\Windows\Forms\LabelTests.cs (1)
96
Assert.Equal(100, control.
Right
);
System\Windows\Forms\ListBoxTests.cs (1)
105
Assert.Equal(120, control.
Right
);
System\Windows\Forms\ListControlTests.cs (1)
93
Assert.Equal(0, control.
Right
);
System\Windows\Forms\ListViewTests.cs (1)
121
Assert.Equal(121, control.
Right
);
System\Windows\Forms\MdiClientTests.cs (11)
72
Assert.Equal(0, control.
Right
);
542
Assert.Equal(value.Width, control.
Right
);
561
Assert.Equal(value.Width, control.
Right
);
644
Assert.Equal(expectedWidth, control.
Right
);
666
Assert.Equal(expectedWidth, control.
Right
);
778
Assert.Equal(0, control.
Right
);
805
Assert.Equal(0, control.
Right
);
930
Assert.Equal(0, control.
Right
);
957
Assert.Equal(0, control.
Right
);
1092
Assert.Equal(expectedWidth, control.
Right
);
1119
Assert.Equal(expectedWidth, control.
Right
);
System\Windows\Forms\MenuStripTests.cs (1)
128
Assert.Equal(200, control.
Right
);
System\Windows\Forms\MonthCalendarTests.cs (1)
110
Assert.True(control.
Right
> 0);
System\Windows\Forms\PanelTests.cs (1)
99
Assert.Equal(200, control.
Right
);
System\Windows\Forms\PictureBoxTests.cs (1)
94
Assert.Equal(100, control.
Right
);
System\Windows\Forms\ProgressBarTests.cs (1)
84
Assert.Equal(100, control.
Right
);
System\Windows\Forms\PropertyGridTests.cs (1)
137
Assert.Equal(130, control.
Right
);
System\Windows\Forms\RadioButtonTests.cs (1)
100
Assert.Equal(104, control.
Right
);
System\Windows\Forms\RichTextBoxTests.cs (1)
115
Assert.Equal(100, control.
Right
);
System\Windows\Forms\ScrollableControlTests.cs (1)
98
Assert.Equal(0, control.
Right
);
System\Windows\Forms\ScrollBarTests.cs (1)
87
Assert.Equal(0, control.
Right
);
System\Windows\Forms\SplitterPanelTests.cs (9)
88
Assert.Equal(200, control.
Right
);
468
Assert.Equal(200, control.
Right
);
487
Assert.Equal(200, control.
Right
);
545
Assert.Equal(value.X + 200, control.
Right
);
567
Assert.Equal(value.X + 200, control.
Right
);
833
Assert.Equal(value.Width, control.
Right
);
852
Assert.Equal(value.Width, control.
Right
);
1190
Assert.Equal(200, control.
Right
);
1209
Assert.Equal(200, control.
Right
);
System\Windows\Forms\SplitterTests.cs (5)
87
Assert.Equal(3, control.
Right
);
1256
Assert.Equal(child.
Right
, control.Left);
1375
Assert.Equal(child.
Right
, control.Left);
2023
Assert.Equal(child.
Right
, control.Left);
2131
Assert.Equal(child.
Right
, control.Left);
System\Windows\Forms\StatusStripTests.cs (1)
129
Assert.Equal(200, control.
Right
);
System\Windows\Forms\TabControlTests.cs (1)
91
Assert.Equal(200, control.
Right
);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
107
Assert.Equal(200, control.
Right
);
System\Windows\Forms\TabPageTests.cs (18)
104
Assert.Equal(200, control.
Right
);
213
Assert.Equal(200, control.
Right
);
1903
Assert.Equal(value.X + 200, control.
Right
);
1925
Assert.Equal(value.X + 200, control.
Right
);
1993
Assert.Equal(value.X + 200, control.
Right
);
2016
Assert.Equal(value.X + 200, control.
Right
);
2094
Assert.Equal(value.X + 200, control.
Right
);
2119
Assert.Equal(value.X + 200, control.
Right
);
2218
Assert.Equal(expected.X + expected.Width, control.
Right
);
2248
Assert.Equal(expected.X + expected.Width, control.
Right
);
4350
Assert.Equal(x + width, control.
Right
);
4371
Assert.Equal(x + width, control.
Right
);
4487
Assert.Equal(x + width, control.
Right
);
4509
Assert.Equal(x + width, control.
Right
);
4642
Assert.Equal(x + expectedWidth, control.
Right
);
4666
Assert.Equal(x + expectedWidth, control.
Right
);
4820
Assert.Equal(expected.X + expected.Width, control.
Right
);
4850
Assert.Equal(expected.X + expected.Width, control.
Right
);
System\Windows\Forms\ToolStripContentPanelTests.cs (3)
104
Assert.Equal(200, control.
Right
);
944
Assert.Equal(value.X + 200, control.
Right
);
966
Assert.Equal(value.X + 200, control.
Right
);
System\Windows\Forms\ToolStripDropDownTests.cs (3)
136
Assert.Equal(SystemInformation.WorkingArea.X + 2, control.
Right
);
1970
Assert.Equal(expected.X + 100, control.
Right
);
1992
Assert.Equal(expected.X + 100, control.
Right
);
System\Windows\Forms\ToolStripPanelTests.cs (1)
101
Assert.Equal(0, control.
Right
);
System\Windows\Forms\ToolStripTests.cs (2)
144
Assert.Equal(100, control.
Right
);
299
Assert.Equal(100, control.
Right
);
System\Windows\Forms\TreeViewTests.cs (1)
101
Assert.Equal(121, control.
Right
);
System\Windows\Forms\UpDownBaseTests.cs (3)
114
Assert.Equal(120, control.
Right
);
2768
Assert.Equal(x + width, control.
Right
);
2800
Assert.Equal(x + width, control.
Right
);
System\Windows\Forms\UserControlTests.cs (1)
105
Assert.Equal(150, control.
Right
);
System\Windows\Forms\VScrollBarTests.cs (1)
97
Assert.True(control.
Right
> 0);
System\Windows\Forms\WebBrowserTests.cs (1)
83
Assert.Equal(250, control.
Right
);
TextBoxBaseTests.cs (6)
6541
Assert.Equal(x + width, control.
Right
);
6562
Assert.Equal(x + width, control.
Right
);
6675
Assert.Equal(x + width, control.
Right
);
6696
Assert.Equal(x + width, control.
Right
);
6791
Assert.Equal(x + width, control.
Right
);
6812
Assert.Equal(x + width, control.
Right
);
TextBoxTests.cs (1)
99
Assert.Equal(100, control.
Right
);
TrackBarTests.cs (3)
90
Assert.Equal(104, control.
Right
);
3001
Assert.Equal(x + expectedWidth, control.
Right
);
3022
Assert.Equal(x + expectedWidth, control.
Right
);
WebBrowserBaseTests.cs (4)
80
Assert.Equal(x + width, control.
Right
);
99
Assert.Equal(x + width, control.
Right
);
196
Assert.Equal(x + expectedWidth, control.
Right
);
218
Assert.Equal(x + expectedWidth, control.
Right
);