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