2 writes to Width
System.Windows.Forms.Tests (2)
System\Windows\Forms\SplitterPanelTests.cs (2)
1186
Assert.Throws<NotSupportedException>(() => control.
Width
= value);
1205
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)
102
Assert.Equal(200, control.
Width
);
473
Assert.Equal(200, control.
Width
);
492
Assert.Equal(200, control.
Width
);
551
Assert.Equal(200, control.
Width
);
573
Assert.Equal(200, control.
Width
);
838
Assert.Equal(value.Width, control.
Width
);
857
Assert.Equal(value.Width, control.
Width
);
1195
Assert.Equal(200, control.
Width
);
1214
Assert.Equal(200, control.
Width
);