4 writes to _labelRatio
System.Windows.Forms (4)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (4)
2129
_labelRatio
= widthPS / (double)(pos - startPS);
4462
_labelRatio
= Math.Max(Math.Min(_labelRatio, 9), 1.1);
4481
_labelRatio
= GetOurSize().Width / (double)(oldWidth - _location.X);
4868
_labelRatio
= GetOurSize().Width / (double)(_labelWidth - _location.X);
4 references to _labelRatio
System.Windows.Forms (4)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (4)
1428
public int ValueWidth => (int)(LabelWidth * (
_labelRatio
- 1));
4462
_labelRatio = Math.Max(Math.Min(
_labelRatio
, 9), 1.1);
4463
_labelWidth = _location.X + (int)(size.Width /
_labelRatio
);
4864
_labelWidth = _location.X + (int)(size.Width /
_labelRatio
);