14 references to LabelWidth
System.Windows.Forms (14)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1988
int labelWidth = gridHost.
LabelWidth
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (13)
1108
return length > _location.X +
LabelWidth
;
1420
public int TotalWidth =>
LabelWidth
+ SplitterWidth + ValueWidth;
1428
public int ValueWidth => (int)(
LabelWidth
* (_labelRatio - 1));
1683
if (x >
LabelWidth
+ _location.X)
1921
rect.Width =
LabelWidth
- 1;
1925
rect.X = _location.X +
LabelWidth
;
1926
rect.Width = size.Width -
LabelWidth
;
2127
int oldLabelWidth =
LabelWidth
;
2142
if (oldLabelWidth >
LabelWidth
)
2144
int left =
LabelWidth
- _requiredLabelPaintMargin;
2779
MoveSplitterTo(
LabelWidth
- 3);
2798
MoveSplitterTo(
LabelWidth
+ 3);
5069
private bool SplitterInside(int x) => Math.Abs(x -
LabelWidth
) < 4;