2 writes to labelWidth
System.Windows.Forms (2)
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
4536
labelWidth
= ptOurLocation.X + (int) ((double)size.Width / labelRatio);
4897
labelWidth
= ptOurLocation.X + (int) ((double)size.Width / labelRatio);
9 references to labelWidth
System.Windows.Forms (9)
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (9)
499
if (
labelWidth
== -1) {
502
return
labelWidth
;
3508
g.DrawLine(splitterPen,
labelWidth
,loc.Y,
labelWidth
, (cPropsVisible)*(RowHeight+1)+loc.Y);
4539
int oldWidth =
labelWidth
;
4560
Debug.WriteLineIf(CompModSwitches.DebugGridView.TraceVerbose, "\tlabelWidth :" + (
labelWidth
).ToString(CultureInfo.InvariantCulture));
4895
if (
labelWidth
!= -1 && size.Width > 0) {
4896
if (
labelWidth
> ptOurLocation.X + size.Width) {
4900
labelRatio = ((double) GetOurSize().Width / (double) (
labelWidth
- ptOurLocation.X));