256 references to Right
System.Windows.Forms (6)
System\Windows\Forms\Controls\Splitter\Splitter.cs (2)
746if (target.Right == Left) 753if (target.Left == Right)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (2)
423return new Point(toolStripToDrag.Right, toolStripToDrag.Top); 529controlLocations[j] = new Point(row.Bounds.Width - control.Right, control.Top);
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)
7430Assert.Equal(x + width, control.Right); 7449Assert.Equal(x + width, control.Right); 7541Assert.Equal(x + expectedWidth, control.Right); 7560Assert.Equal(x + expectedWidth, control.Right); 7639Assert.Equal(x + width, control.Right); 7658Assert.Equal(x + width, control.Right); 7757Assert.Equal(x + width, control.Right); 7777Assert.Equal(x + width, control.Right); 7880Assert.Equal(x + expectedWidth, control.Right); 7902Assert.Equal(x + expectedWidth, control.Right); 8028Assert.Equal(x + expectedWidth, control.Right); 8055Assert.Equal(x + expectedWidth, control.Right); 8217Assert.Equal(expectedX + expectedWidth, control.Right); 8236Assert.Equal(expectedX + expectedWidth, control.Right); 8328Assert.Equal(x + expectedWidth, control.Right); 8347Assert.Equal(x + expectedWidth, control.Right); 8426Assert.Equal(expectedX + expectedWidth, control.Right); 8445Assert.Equal(expectedX + expectedWidth, control.Right); 8614Assert.Equal(expectedX + expectedWidth, control.Right); 8634Assert.Equal(expectedX + expectedWidth, control.Right); 8737Assert.Equal(x + expectedWidth, control.Right); 8759Assert.Equal(x + expectedWidth, control.Right); 8885Assert.Equal(x + expectedWidth, control.Right); 8912Assert.Equal(x + expectedWidth, control.Right); 9031Assert.Equal(x + width, control.Right); 9052Assert.Equal(x + width, control.Right); 9173Assert.Equal(x + expectedWidth, control.Right); 9194Assert.Equal(x + expectedWidth, control.Right); 9302Assert.Equal(x + width, control.Right); 9323Assert.Equal(x + width, control.Right); 9439Assert.Equal(x + width, control.Right); 9461Assert.Equal(x + width, control.Right); 9594Assert.Equal(x + expectedWidth, control.Right); 9618Assert.Equal(x + expectedWidth, control.Right); 9752Assert.Equal(x + expectedWidth, control.Right); 9781Assert.Equal(x + expectedWidth, control.Right); 9863Assert.Equal(expectedSize.Width, control.Right); 9879Assert.Equal(expectedSize.Width, control.Right); 9911Assert.Equal(expectedSize.Width, control.Right); 9930Assert.Equal(expectedSize.Width, control.Right); 10386Assert.Equal(0, control.Right); 10405Assert.Equal(0, control.Right); 10453Assert.True(control.Right > 0); 10486Assert.True(control.Right > 0); 10560Assert.Equal(0, control.Right); 10579Assert.Equal(0, control.Right); 10652Assert.Equal(0, control.Right); 10671Assert.Equal(0, control.Right); 10743Assert.Equal(0, control.Right); 10765Assert.Equal(0, control.Right); 10810Assert.Equal(4, control.Right); 10832Assert.Equal(4, control.Right); 10888Assert.Equal(4, control.Right); 10914Assert.Equal(4, control.Right); 11000Assert.Equal(x + width, control.Right); 11019Assert.Equal(x + width, control.Right); 11111Assert.Equal(x + width, control.Right); 11130Assert.Equal(x + width, control.Right); 11209Assert.Equal(x + width, control.Right); 11228Assert.Equal(x + width, control.Right); 11318Assert.Equal(x + width, control.Right); 11338Assert.Equal(x + width, control.Right); 11441Assert.Equal(x + width, control.Right); 11463Assert.Equal(x + width, control.Right); 11570Assert.Equal(x + width, control.Right); 11597Assert.Equal(x + width, control.Right); 11695Assert.Equal(x + width, control.Right); 11714Assert.Equal(x + width, control.Right); 11804Assert.Equal(x + width, control.Right); 11824Assert.Equal(x + width, control.Right); 11939Assert.Equal(x + width, control.Right); 11961Assert.Equal(x + width, control.Right); 12068Assert.Equal(x + width, control.Right); 12095Assert.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);