4 writes to _labelRatio
System.Windows.Forms (4)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (4)
2105
_labelRatio
= widthPS / (double)(pos - startPS);
4438
_labelRatio
= Math.Max(Math.Min(_labelRatio, 9), 1.1);
4457
_labelRatio
= GetOurSize().Width / (double)(oldWidth - _location.X);
4844
_labelRatio
= GetOurSize().Width / (double)(_labelWidth - _location.X);
4 references to _labelRatio
System.Windows.Forms (4)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (4)
1404
public int ValueWidth => (int)(LabelWidth * (
_labelRatio
- 1));
4438
_labelRatio = Math.Max(Math.Min(
_labelRatio
, 9), 1.1);
4439
_labelWidth = _location.X + (int)(size.Width /
_labelRatio
);
4840
_labelWidth = _location.X + (int)(size.Width /
_labelRatio
);