2 writes to Width
System.Windows.Forms.Tests (2)
System\Windows\Forms\SplitterPanelTests.cs (2)
1184Assert.Throws<NotSupportedException>(() => control.Width = value); 1203Assert.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)
100Assert.Equal(200, control.Width); 471Assert.Equal(200, control.Width); 490Assert.Equal(200, control.Width); 549Assert.Equal(200, control.Width); 571Assert.Equal(200, control.Width); 836Assert.Equal(value.Width, control.Width); 855Assert.Equal(value.Width, control.Width); 1193Assert.Equal(200, control.Width); 1212Assert.Equal(200, control.Width);