2 writes to totalProps
System.Windows.Forms (2)
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
3764totalProps = CountPropsFromOutline(topLevelGridEntries); 4047totalProps = props;
29 references to totalProps
System.Windows.Forms (29)
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (29)
1944if (visibleRows == -1 || totalProps == -1 || !HasEntries) { 1952GridEntry[] rgipes = new GridEntry[totalProps]; 2324(newValue + (ScrollBar.LargeChange-1) >= totalProps)) { 2443if ((totalProps <= 0) && AccessibilityImprovements.Level1) { 2605if (totalProps <= 0 && AccessibilityImprovements.Level1) { 3170if (me.Button == MouseButtons.Left && SplitterInside(me.X,me.Y) && totalProps != 0) { 3292if (totalProps != 0 && (SplitterInside(me.X,me.Y) || GetFlag(FlagIsSplitterMove))) { 3370newOffset = Math.Min(newOffset, totalProps - visibleRows+1); 3401newOffset = Math.Min(newOffset, totalProps - visibleRows+1); 3471int cPropsVisible = Math.Min(totalProps - GetScrollOffset(),1+visibleRows); 3500if (totalProps > 0) { 3832SelectGridEntry(oldGridEntry, (ScrollBar.Value == totalProps ? true : false)); 4046if (totalProps != props) { 4123int oldLength = totalProps; 4146int newLength = totalProps; 4167SetFlag(FlagNoDefault, gridEntry == null && totalProps > 0); 4620int items = totalProps; 4636int newItems = totalProps - items; 4640SetScrollOffset((totalProps - items) + offset); 4665int posNew = Math.Max(0, Math.Min(totalProps - visibleRows + 1, cOffset)); 4878if (totalProps != -1) { 4879if (totalProps < visibleRows) { 4882else if (GetScrollOffset() > totalProps) { 4883SetScrollOffset((totalProps+1) - visibleRows); 4890ScrollBar.Maximum = Math.Max(0,totalProps - 1); 4891if (fHidden != (totalProps < visibleRows)) { 5228if (totalProps > 0) { 5389m.Result = (IntPtr)Math.Min(visibleRows, totalProps); 7791itemCount = gridView.totalProps;