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