2 writes to _labelWidth
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
4462
_labelWidth
= _location.X + (int)(size.Width / _labelRatio);
4863
_labelWidth
= _location.X + (int)(size.Width / _labelRatio);
8 references to _labelWidth
System.Windows.Forms (8)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (8)
1344
if (
_labelWidth
== -1)
1349
return
_labelWidth
;
3340
g.DrawLine(splitterPen,
_labelWidth
, location.Y,
_labelWidth
, visibleCount * (RowHeight + 1) + location.Y);
4465
int oldWidth =
_labelWidth
;
4859
if (
_labelWidth
!= -1 && size.Width > 0)
4861
if (
_labelWidth
> _location.X + size.Width)
4867
_labelRatio = GetOurSize().Width / (double)(
_labelWidth
- _location.X);