257 references to Right
System.Windows.Forms (7)
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 (3)
423
return new Point(toolStripToDrag.
Right
, toolStripToDrag.Top);
529
controlLocations[j] = new Point(row.Bounds.Width - control.
Right
, control.Top);
648
controlLocation = new Point(Width - controlArray[i].
Right
, controlLocation.Y);
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)
7421
Assert.Equal(x + width, control.
Right
);
7440
Assert.Equal(x + width, control.
Right
);
7532
Assert.Equal(x + expectedWidth, control.
Right
);
7551
Assert.Equal(x + expectedWidth, control.
Right
);
7630
Assert.Equal(x + width, control.
Right
);
7649
Assert.Equal(x + width, control.
Right
);
7748
Assert.Equal(x + width, control.
Right
);
7768
Assert.Equal(x + width, control.
Right
);
7871
Assert.Equal(x + expectedWidth, control.
Right
);
7893
Assert.Equal(x + expectedWidth, control.
Right
);
8019
Assert.Equal(x + expectedWidth, control.
Right
);
8046
Assert.Equal(x + expectedWidth, control.
Right
);
8208
Assert.Equal(expectedX + expectedWidth, control.
Right
);
8227
Assert.Equal(expectedX + expectedWidth, control.
Right
);
8319
Assert.Equal(x + expectedWidth, control.
Right
);
8338
Assert.Equal(x + expectedWidth, control.
Right
);
8417
Assert.Equal(expectedX + expectedWidth, control.
Right
);
8436
Assert.Equal(expectedX + expectedWidth, control.
Right
);
8605
Assert.Equal(expectedX + expectedWidth, control.
Right
);
8625
Assert.Equal(expectedX + expectedWidth, control.
Right
);
8728
Assert.Equal(x + expectedWidth, control.
Right
);
8750
Assert.Equal(x + expectedWidth, control.
Right
);
8876
Assert.Equal(x + expectedWidth, control.
Right
);
8903
Assert.Equal(x + expectedWidth, control.
Right
);
9022
Assert.Equal(x + width, control.
Right
);
9043
Assert.Equal(x + width, control.
Right
);
9164
Assert.Equal(x + expectedWidth, control.
Right
);
9185
Assert.Equal(x + expectedWidth, control.
Right
);
9293
Assert.Equal(x + width, control.
Right
);
9314
Assert.Equal(x + width, control.
Right
);
9430
Assert.Equal(x + width, control.
Right
);
9452
Assert.Equal(x + width, control.
Right
);
9585
Assert.Equal(x + expectedWidth, control.
Right
);
9609
Assert.Equal(x + expectedWidth, control.
Right
);
9743
Assert.Equal(x + expectedWidth, control.
Right
);
9772
Assert.Equal(x + expectedWidth, control.
Right
);
9854
Assert.Equal(expectedSize.Width, control.
Right
);
9870
Assert.Equal(expectedSize.Width, control.
Right
);
9902
Assert.Equal(expectedSize.Width, control.
Right
);
9921
Assert.Equal(expectedSize.Width, control.
Right
);
10377
Assert.Equal(0, control.
Right
);
10396
Assert.Equal(0, control.
Right
);
10444
Assert.True(control.
Right
> 0);
10477
Assert.True(control.
Right
> 0);
10551
Assert.Equal(0, control.
Right
);
10570
Assert.Equal(0, control.
Right
);
10643
Assert.Equal(0, control.
Right
);
10662
Assert.Equal(0, control.
Right
);
10734
Assert.Equal(0, control.
Right
);
10756
Assert.Equal(0, control.
Right
);
10801
Assert.Equal(4, control.
Right
);
10823
Assert.Equal(4, control.
Right
);
10879
Assert.Equal(4, control.
Right
);
10905
Assert.Equal(4, control.
Right
);
10991
Assert.Equal(x + width, control.
Right
);
11010
Assert.Equal(x + width, control.
Right
);
11102
Assert.Equal(x + width, control.
Right
);
11121
Assert.Equal(x + width, control.
Right
);
11200
Assert.Equal(x + width, control.
Right
);
11219
Assert.Equal(x + width, control.
Right
);
11309
Assert.Equal(x + width, control.
Right
);
11329
Assert.Equal(x + width, control.
Right
);
11432
Assert.Equal(x + width, control.
Right
);
11454
Assert.Equal(x + width, control.
Right
);
11561
Assert.Equal(x + width, control.
Right
);
11588
Assert.Equal(x + width, control.
Right
);
11686
Assert.Equal(x + width, control.
Right
);
11705
Assert.Equal(x + width, control.
Right
);
11795
Assert.Equal(x + width, control.
Right
);
11815
Assert.Equal(x + width, control.
Right
);
11930
Assert.Equal(x + width, control.
Right
);
11952
Assert.Equal(x + width, control.
Right
);
12059
Assert.Equal(x + width, control.
Right
);
12086
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
);