2 writes to Width
System.Windows.Forms.Tests (2)
System\Windows\Forms\SplitterPanelTests.cs (2)
1184
Assert.Throws<NotSupportedException>(() => control.
Width
= value);
1203
Assert.Throws<NotSupportedException>(() => control.
Width
= value);
17 references to Width
System.Windows.Forms (8)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (8)
1302
if (value > Panel2.
Width
)
1304
SplitterDistanceInternal = Panel2.
Width
+ SplitterWidthInternal; // Set the Splitter Distance to the start of Panel2
1507
size = Math.Max(Panel1.
Width
+ delta, _borderSize);
1512
size = Math.Max(Panel1.
Width
- delta, _borderSize);
1607
Panel1.Size = new Size(Panel1.
Width
, 0);
1608
Panel2.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)
100
Assert.Equal(200, control.
Width
);
471
Assert.Equal(200, control.
Width
);
490
Assert.Equal(200, control.
Width
);
549
Assert.Equal(200, control.
Width
);
571
Assert.Equal(200, control.
Width
);
836
Assert.Equal(value.Width, control.
Width
);
855
Assert.Equal(value.Width, control.
Width
);
1193
Assert.Equal(200, control.
Width
);
1212
Assert.Equal(200, control.
Width
);