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)
1427public 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);