257 references to Right
System.Windows.Forms (7)
System\Windows\Forms\Controls\Splitter\Splitter.cs (2)
746if (target.Right == Left) 753if (target.Left == Right)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (3)
423return new Point(toolStripToDrag.Right, toolStripToDrag.Top); 529controlLocations[j] = new Point(row.Bounds.Width - control.Right, control.Top); 648controlLocation = new Point(Width - controlArray[i].Right, controlLocation.Y);
System\Windows\Forms\ErrorProvider\ErrorProvider.ControlItem.cs (1)
221x = _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)
107Assert.True(control.Right > 0);
System.Windows.Forms.Tests (249)
System\Windows\Forms\AxHostTests.cs (2)
100Assert.Equal(75, control.Right); 194Assert.Equal(75, control.Right);
System\Windows\Forms\ButtonBaseTests.cs (1)
102Assert.Equal(75, control.Right);
System\Windows\Forms\ButtonTests.cs (1)
100Assert.Equal(75, control.Right);
System\Windows\Forms\CheckBoxTests.cs (1)
102Assert.Equal(104, control.Right);
System\Windows\Forms\ComboBoxTests.cs (1)
112Assert.Equal(121, control.Right);
System\Windows\Forms\ContainerControlTests.cs (1)
105Assert.Equal(0, control.Right);
System\Windows\Forms\ControlTests.cs (5)
83Assert.Equal(0, control.Right); 172Assert.Equal(0, control.Right); 268Assert.Equal(left + width, control.Right); 364Assert.Equal(0, control.Right); 460Assert.Equal(left + width, control.Right);
System\Windows\Forms\ControlTests.Methods.cs (74)
7421Assert.Equal(x + width, control.Right); 7440Assert.Equal(x + width, control.Right); 7532Assert.Equal(x + expectedWidth, control.Right); 7551Assert.Equal(x + expectedWidth, control.Right); 7630Assert.Equal(x + width, control.Right); 7649Assert.Equal(x + width, control.Right); 7748Assert.Equal(x + width, control.Right); 7768Assert.Equal(x + width, control.Right); 7871Assert.Equal(x + expectedWidth, control.Right); 7893Assert.Equal(x + expectedWidth, control.Right); 8019Assert.Equal(x + expectedWidth, control.Right); 8046Assert.Equal(x + expectedWidth, control.Right); 8208Assert.Equal(expectedX + expectedWidth, control.Right); 8227Assert.Equal(expectedX + expectedWidth, control.Right); 8319Assert.Equal(x + expectedWidth, control.Right); 8338Assert.Equal(x + expectedWidth, control.Right); 8417Assert.Equal(expectedX + expectedWidth, control.Right); 8436Assert.Equal(expectedX + expectedWidth, control.Right); 8605Assert.Equal(expectedX + expectedWidth, control.Right); 8625Assert.Equal(expectedX + expectedWidth, control.Right); 8728Assert.Equal(x + expectedWidth, control.Right); 8750Assert.Equal(x + expectedWidth, control.Right); 8876Assert.Equal(x + expectedWidth, control.Right); 8903Assert.Equal(x + expectedWidth, control.Right); 9022Assert.Equal(x + width, control.Right); 9043Assert.Equal(x + width, control.Right); 9164Assert.Equal(x + expectedWidth, control.Right); 9185Assert.Equal(x + expectedWidth, control.Right); 9293Assert.Equal(x + width, control.Right); 9314Assert.Equal(x + width, control.Right); 9430Assert.Equal(x + width, control.Right); 9452Assert.Equal(x + width, control.Right); 9585Assert.Equal(x + expectedWidth, control.Right); 9609Assert.Equal(x + expectedWidth, control.Right); 9743Assert.Equal(x + expectedWidth, control.Right); 9772Assert.Equal(x + expectedWidth, control.Right); 9854Assert.Equal(expectedSize.Width, control.Right); 9870Assert.Equal(expectedSize.Width, control.Right); 9902Assert.Equal(expectedSize.Width, control.Right); 9921Assert.Equal(expectedSize.Width, control.Right); 10377Assert.Equal(0, control.Right); 10396Assert.Equal(0, control.Right); 10444Assert.True(control.Right > 0); 10477Assert.True(control.Right > 0); 10551Assert.Equal(0, control.Right); 10570Assert.Equal(0, control.Right); 10643Assert.Equal(0, control.Right); 10662Assert.Equal(0, control.Right); 10734Assert.Equal(0, control.Right); 10756Assert.Equal(0, control.Right); 10801Assert.Equal(4, control.Right); 10823Assert.Equal(4, control.Right); 10879Assert.Equal(4, control.Right); 10905Assert.Equal(4, control.Right); 10991Assert.Equal(x + width, control.Right); 11010Assert.Equal(x + width, control.Right); 11102Assert.Equal(x + width, control.Right); 11121Assert.Equal(x + width, control.Right); 11200Assert.Equal(x + width, control.Right); 11219Assert.Equal(x + width, control.Right); 11309Assert.Equal(x + width, control.Right); 11329Assert.Equal(x + width, control.Right); 11432Assert.Equal(x + width, control.Right); 11454Assert.Equal(x + width, control.Right); 11561Assert.Equal(x + width, control.Right); 11588Assert.Equal(x + width, control.Right); 11686Assert.Equal(x + width, control.Right); 11705Assert.Equal(x + width, control.Right); 11795Assert.Equal(x + width, control.Right); 11815Assert.Equal(x + width, control.Right); 11930Assert.Equal(x + width, control.Right); 11952Assert.Equal(x + width, control.Right); 12059Assert.Equal(x + width, control.Right); 12086Assert.Equal(x + width, control.Right);
System\Windows\Forms\ControlTests.Properties.cs (64)
2483Assert.Equal(x + width, control.Right); 2502Assert.Equal(x + width, control.Right); 2572Assert.Equal(x + expectedWidth, control.Right); 2591Assert.Equal(x + expectedWidth, control.Right); 2657Assert.Equal(x + width, control.Right); 2676Assert.Equal(x + width, control.Right); 2762Assert.Equal(x + width, control.Right); 2782Assert.Equal(x + width, control.Right); 2862Assert.Equal(x + expectedWidth, control.Right); 2884Assert.Equal(x + expectedWidth, control.Right); 2987Assert.Equal(x + expectedWidth, control.Right); 3014Assert.Equal(x + expectedWidth, control.Right); 3386Assert.Equal(expectedSize.Width, control.Right); 3402Assert.Equal(expectedSize.Width, control.Right); 3449Assert.Equal(expectedSize.Width, control.Right); 3468Assert.Equal(expectedSize.Width, control.Right); 5733Assert.Equal(0, control.Right); 5752Assert.Equal(0, control.Right); 5843Assert.Equal(expectedWidth, control.Right); 5862Assert.Equal(expectedWidth, control.Right); 5931Assert.Equal(0, control.Right); 5950Assert.Equal(0, control.Right); 6039Assert.Equal(0, control.Right); 6059Assert.Equal(0, control.Right); 6151Assert.Equal(0, control.Right); 6173Assert.Equal(0, control.Right); 6288Assert.Equal(0, control.Right); 6315Assert.Equal(0, control.Right); 6696Assert.Equal(value, control.Right); 6718Assert.Equal(value, control.Right); 6886Assert.Equal(value, control.Right); 6911Assert.Equal(value, control.Right); 7177Assert.Equal(value.X, control.Right); 7199Assert.Equal(value.X, control.Right); 7267Assert.Equal(value.X, control.Right); 7290Assert.Equal(value.X, control.Right); 7369Assert.Equal(value.X, control.Right); 7394Assert.Equal(value.X, control.Right); 7480Assert.Equal(value.X, control.Right); 7510Assert.Equal(value.X, control.Right); 11117Assert.Equal(value.Width, control.Right); 11136Assert.Equal(value.Width, control.Right); 11228Assert.Equal(expectedWidth, control.Right); 11247Assert.Equal(expectedWidth, control.Right); 11323Assert.Equal(value.Width, control.Right); 11342Assert.Equal(value.Width, control.Right); 11438Assert.Equal(value.Width, control.Right); 11458Assert.Equal(value.Width, control.Right); 11555Assert.Equal(expectedWidth, control.Right); 11577Assert.Equal(expectedWidth, control.Right); 11697Assert.Equal(expectedWidth, control.Right); 11724Assert.Equal(expectedWidth, control.Right); 13152Assert.Equal(value, control.Right); 13171Assert.Equal(value, control.Right); 13262Assert.Equal(expectedWidth, control.Right); 13281Assert.Equal(expectedWidth, control.Right); 13350Assert.Equal(value, control.Right); 13369Assert.Equal(value, control.Right); 13458Assert.Equal(value, control.Right); 13478Assert.Equal(value, control.Right); 13570Assert.Equal(expectedWidth, control.Right); 13592Assert.Equal(expectedWidth, control.Right); 13707Assert.Equal(expectedWidth, control.Right); 13734Assert.Equal(expectedWidth, control.Right);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
106Assert.Equal(100, control.Right);
System\Windows\Forms\DateTimePickerTests.cs (1)
104Assert.Equal(200, control.Right);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
137Assert.Equal(control.Width, control.Right);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
107Assert.Equal(200, control.Right);
System\Windows\Forms\DomainUpDownTests.cs (1)
129_sub.Right.Should().Be(120);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
99Assert.Equal(200, control.Right);
System\Windows\Forms\FormTests.cs (1)
139Assert.Equal(300, control.Right);
System\Windows\Forms\GroupBoxTests.cs (1)
87Assert.Equal(200, control.Right);
System\Windows\Forms\HScrollBarTests.cs (1)
98Assert.True(control.Right > 0);
System\Windows\Forms\LabelTests.cs (1)
96Assert.Equal(100, control.Right);
System\Windows\Forms\ListBoxTests.cs (1)
105Assert.Equal(120, control.Right);
System\Windows\Forms\ListControlTests.cs (1)
93Assert.Equal(0, control.Right);
System\Windows\Forms\ListViewTests.cs (1)
121Assert.Equal(121, control.Right);
System\Windows\Forms\MdiClientTests.cs (11)
72Assert.Equal(0, control.Right); 542Assert.Equal(value.Width, control.Right); 561Assert.Equal(value.Width, control.Right); 644Assert.Equal(expectedWidth, control.Right); 666Assert.Equal(expectedWidth, control.Right); 778Assert.Equal(0, control.Right); 805Assert.Equal(0, control.Right); 930Assert.Equal(0, control.Right); 957Assert.Equal(0, control.Right); 1092Assert.Equal(expectedWidth, control.Right); 1119Assert.Equal(expectedWidth, control.Right);
System\Windows\Forms\MenuStripTests.cs (1)
128Assert.Equal(200, control.Right);
System\Windows\Forms\MonthCalendarTests.cs (1)
110Assert.True(control.Right > 0);
System\Windows\Forms\PanelTests.cs (1)
99Assert.Equal(200, control.Right);
System\Windows\Forms\PictureBoxTests.cs (1)
94Assert.Equal(100, control.Right);
System\Windows\Forms\ProgressBarTests.cs (1)
84Assert.Equal(100, control.Right);
System\Windows\Forms\PropertyGridTests.cs (1)
137Assert.Equal(130, control.Right);
System\Windows\Forms\RadioButtonTests.cs (1)
100Assert.Equal(104, control.Right);
System\Windows\Forms\RichTextBoxTests.cs (1)
115Assert.Equal(100, control.Right);
System\Windows\Forms\ScrollableControlTests.cs (1)
98Assert.Equal(0, control.Right);
System\Windows\Forms\ScrollBarTests.cs (1)
87Assert.Equal(0, control.Right);
System\Windows\Forms\SplitterPanelTests.cs (9)
88Assert.Equal(200, control.Right); 468Assert.Equal(200, control.Right); 487Assert.Equal(200, control.Right); 545Assert.Equal(value.X + 200, control.Right); 567Assert.Equal(value.X + 200, control.Right); 833Assert.Equal(value.Width, control.Right); 852Assert.Equal(value.Width, control.Right); 1190Assert.Equal(200, control.Right); 1209Assert.Equal(200, control.Right);
System\Windows\Forms\SplitterTests.cs (5)
87Assert.Equal(3, control.Right); 1256Assert.Equal(child.Right, control.Left); 1375Assert.Equal(child.Right, control.Left); 2023Assert.Equal(child.Right, control.Left); 2131Assert.Equal(child.Right, control.Left);
System\Windows\Forms\StatusStripTests.cs (1)
129Assert.Equal(200, control.Right);
System\Windows\Forms\TabControlTests.cs (1)
91Assert.Equal(200, control.Right);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
107Assert.Equal(200, control.Right);
System\Windows\Forms\TabPageTests.cs (18)
104Assert.Equal(200, control.Right); 213Assert.Equal(200, control.Right); 1903Assert.Equal(value.X + 200, control.Right); 1925Assert.Equal(value.X + 200, control.Right); 1993Assert.Equal(value.X + 200, control.Right); 2016Assert.Equal(value.X + 200, control.Right); 2094Assert.Equal(value.X + 200, control.Right); 2119Assert.Equal(value.X + 200, control.Right); 2218Assert.Equal(expected.X + expected.Width, control.Right); 2248Assert.Equal(expected.X + expected.Width, control.Right); 4350Assert.Equal(x + width, control.Right); 4371Assert.Equal(x + width, control.Right); 4487Assert.Equal(x + width, control.Right); 4509Assert.Equal(x + width, control.Right); 4642Assert.Equal(x + expectedWidth, control.Right); 4666Assert.Equal(x + expectedWidth, control.Right); 4820Assert.Equal(expected.X + expected.Width, control.Right); 4850Assert.Equal(expected.X + expected.Width, control.Right);
System\Windows\Forms\ToolStripContentPanelTests.cs (3)
104Assert.Equal(200, control.Right); 944Assert.Equal(value.X + 200, control.Right); 966Assert.Equal(value.X + 200, control.Right);
System\Windows\Forms\ToolStripDropDownTests.cs (3)
136Assert.Equal(SystemInformation.WorkingArea.X + 2, control.Right); 1970Assert.Equal(expected.X + 100, control.Right); 1992Assert.Equal(expected.X + 100, control.Right);
System\Windows\Forms\ToolStripPanelTests.cs (1)
101Assert.Equal(0, control.Right);
System\Windows\Forms\ToolStripTests.cs (2)
144Assert.Equal(100, control.Right); 299Assert.Equal(100, control.Right);
System\Windows\Forms\TreeViewTests.cs (1)
101Assert.Equal(121, control.Right);
System\Windows\Forms\UpDownBaseTests.cs (3)
114Assert.Equal(120, control.Right); 2768Assert.Equal(x + width, control.Right); 2800Assert.Equal(x + width, control.Right);
System\Windows\Forms\UserControlTests.cs (1)
105Assert.Equal(150, control.Right);
System\Windows\Forms\VScrollBarTests.cs (1)
97Assert.True(control.Right > 0);
System\Windows\Forms\WebBrowserTests.cs (1)
83Assert.Equal(250, control.Right);
TextBoxBaseTests.cs (6)
6541Assert.Equal(x + width, control.Right); 6562Assert.Equal(x + width, control.Right); 6675Assert.Equal(x + width, control.Right); 6696Assert.Equal(x + width, control.Right); 6791Assert.Equal(x + width, control.Right); 6812Assert.Equal(x + width, control.Right);
TextBoxTests.cs (1)
99Assert.Equal(100, control.Right);
TrackBarTests.cs (3)
90Assert.Equal(104, control.Right); 3001Assert.Equal(x + expectedWidth, control.Right); 3022Assert.Equal(x + expectedWidth, control.Right);
WebBrowserBaseTests.cs (4)
80Assert.Equal(x + width, control.Right); 99Assert.Equal(x + width, control.Right); 196Assert.Equal(x + expectedWidth, control.Right); 218Assert.Equal(x + expectedWidth, control.Right);