14 references to LabelWidth
System.Windows.Forms (14)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1994int labelWidth = gridHost.LabelWidth;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (13)
1084return length > _location.X + LabelWidth; 1396public int TotalWidth => LabelWidth + SplitterWidth + ValueWidth; 1404public int ValueWidth => (int)(LabelWidth * (_labelRatio - 1)); 1659if (x > LabelWidth + _location.X) 1897rect.Width = LabelWidth - 1; 1901rect.X = _location.X + LabelWidth; 1902rect.Width = size.Width - LabelWidth; 2103int oldLabelWidth = LabelWidth; 2118if (oldLabelWidth > LabelWidth) 2120int left = LabelWidth - _requiredLabelPaintMargin; 2740MoveSplitterTo(LabelWidth - 3); 2759MoveSplitterTo(LabelWidth + 3); 5036private bool SplitterInside(int x) => Math.Abs(x - LabelWidth) < 4;