2 writes to Width
System.Windows.Forms.Tests (2)
System\Windows\Forms\SplitterPanelTests.cs (2)
1186Assert.Throws<NotSupportedException>(() => control.Width = value); 1205Assert.Throws<NotSupportedException>(() => control.Width = value);
17 references to Width
System.Windows.Forms (8)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (8)
1302if (value > Panel2.Width) 1304SplitterDistanceInternal = Panel2.Width + SplitterWidthInternal; // Set the Splitter Distance to the start of Panel2 1507size = Math.Max(Panel1.Width + delta, _borderSize); 1512size = Math.Max(Panel1.Width - delta, _borderSize); 1607Panel1.Size = new Size(Panel1.Width, 0); 1608Panel2.Size = new Size(Panel2.Width, 0); 2195_ratioWidth = (Width / (double)(Panel1.Width) > 0) ? Width / (double)(Panel1.Width) : _ratioWidth;
System.Windows.Forms.Tests (9)
System\Windows\Forms\SplitterPanelTests.cs (9)
102Assert.Equal(200, control.Width); 473Assert.Equal(200, control.Width); 492Assert.Equal(200, control.Width); 551Assert.Equal(200, control.Width); 573Assert.Equal(200, control.Width); 838Assert.Equal(value.Width, control.Width); 857Assert.Equal(value.Width, control.Width); 1195Assert.Equal(200, control.Width); 1214Assert.Equal(200, control.Width);