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