14 references to LabelWidth
System.Windows.Forms (14)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1985
int labelWidth = gridHost.
LabelWidth
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (13)
1107
return length > _location.X +
LabelWidth
;
1419
public int TotalWidth =>
LabelWidth
+ SplitterWidth + ValueWidth;
1427
public int ValueWidth => (int)(
LabelWidth
* (_labelRatio - 1));
1682
if (x >
LabelWidth
+ _location.X)
1920
rect.Width =
LabelWidth
- 1;
1924
rect.X = _location.X +
LabelWidth
;
1925
rect.Width = size.Width -
LabelWidth
;
2126
int oldLabelWidth =
LabelWidth
;
2141
if (oldLabelWidth >
LabelWidth
)
2143
int left =
LabelWidth
- _requiredLabelPaintMargin;
2778
MoveSplitterTo(
LabelWidth
- 3);
2797
MoveSplitterTo(
LabelWidth
+ 3);
5068
private bool SplitterInside(int x) => Math.Abs(x -
LabelWidth
) < 4;