winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (21)
291btnDropDown.Size = DpiHelper.EnableDpiChangedHighDpiImprovements ? new Size(SystemInformation.VerticalScrollBarArrowHeightForDpi(this.deviceDpi), RowHeight) : new Size(SystemInformation.VerticalScrollBarArrowHeight, RowHeight);
315btnDialog.Size = DpiHelper.EnableDpiChangedHighDpiImprovements ? new Size(SystemInformation.VerticalScrollBarArrowHeightForDpi(this.deviceDpi), RowHeight) : new Size(SystemInformation.VerticalScrollBarArrowHeight, RowHeight);
398listBox.ItemHeight = RowHeight;
1570return RowHeight;
1919if (RowHeight == -1)
1928pt.Y = (y-ptOurLocation.Y)/(1+RowHeight);
2155rect.Y = (row)*(RowHeight+1)+1+ptOurLocation.Y;
2156rect.Height = RowHeight;
3508g.DrawLine(splitterPen, labelWidth,loc.Y,labelWidth, (cPropsVisible)*(RowHeight+1)+loc.Y);
3528cHeightCurRow = (i)*(RowHeight+1) + loc.Y;
3549cHeightCurRow = (cPropsVisible)*(RowHeight+1) + loc.Y;
4318int maxRows = (int)Math.Ceiling(((double)GetOurSize().Height)/(1+RowHeight));
4426Size sizeBtn = DpiHelper.EnableDpiChangedHighDpiImprovements? new Size(SystemInformation.VerticalScrollBarArrowHeightForDpi(this.deviceDpi), RowHeight):
4427new Size(SystemInformation.VerticalScrollBarArrowHeight, RowHeight);
4530visibleRows = (int)Math.Ceiling(((double)size.Height)/(1+RowHeight));
4562Debug.WriteLineIf(CompModSwitches.DebugGridView.TraceVerbose, "\trowHeight :" + (RowHeight).ToString(CultureInfo.InvariantCulture));
5183DropDownListBox.ItemHeight = RowHeight + 2;
5187btnDropDown.Size = new Size(SystemInformation.VerticalScrollBarArrowHeightForDpi(this.deviceDpi), RowHeight);
5190btnDropDown.Size = new Size(SystemInformation.VerticalScrollBarArrowHeight, RowHeight);