4 writes to _labelRatio
System.Windows.Forms (4)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (4)
2128
_labelRatio
= widthPS / (double)(pos - startPS);
4461
_labelRatio
= Math.Max(Math.Min(_labelRatio, 9), 1.1);
4480
_labelRatio
= GetOurSize().Width / (double)(oldWidth - _location.X);
4867
_labelRatio
= GetOurSize().Width / (double)(_labelWidth - _location.X);
4 references to _labelRatio
System.Windows.Forms (4)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (4)
1427
public int ValueWidth => (int)(LabelWidth * (
_labelRatio
- 1));
4461
_labelRatio = Math.Max(Math.Min(
_labelRatio
, 9), 1.1);
4462
_labelWidth = _location.X + (int)(size.Width /
_labelRatio
);
4863
_labelWidth = _location.X + (int)(size.Width /
_labelRatio
);