2 writes to TotalProperties
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
3567
TotalProperties
= CountPropertiesFromOutline(TopLevelGridEntries);
3922
TotalProperties
= propertyCount;
27 references to TotalProperties
System.Windows.Forms (27)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (27)
1670
if (_visibleRows == -1 ||
TotalProperties
== -1 || !HasEntries)
1680
var newEntries = new GridEntry[
TotalProperties
];
2071
|| (newValue + (ScrollBar.LargeChange - 1) >=
TotalProperties
))
2206
if (
TotalProperties
<= 0)
2357
if (
TotalProperties
<= 0)
2946
if (e.Button == MouseButtons.Left && SplitterInside(e.X) &&
TotalProperties
!= 0)
3090
if (
TotalProperties
!= 0 && (SplitterInside(e.X) || _flags.HasFlag(Flags.IsSplitterMove)))
3176
newOffset = Math.Min(newOffset,
TotalProperties
- _visibleRows + 1);
3209
newOffset = Math.Min(newOffset,
TotalProperties
- _visibleRows + 1);
3283
int visibleCount = Math.Min(
TotalProperties
- GetScrollOffset(), 1 + _visibleRows);
3296
if (
TotalProperties
> 0)
3635
SelectGridEntry(oldGridEntry, pageIn: ScrollBar.Value ==
TotalProperties
);
3920
if (
TotalProperties
!= propertyCount)
4002
int oldLength =
TotalProperties
;
4031
int newLength =
TotalProperties
;
4056
SetFlag(Flags.NoDefault, gridEntry is null &&
TotalProperties
> 0);
4486
int items =
TotalProperties
;
4517
int newItems =
TotalProperties
- items;
4522
SetScrollOffset(
TotalProperties
- items + offset);
4549
int newPosition = Math.Max(0, Math.Min(
TotalProperties
- _visibleRows + 1, offset));
4799
if (
TotalProperties
== -1)
4804
if (
TotalProperties
< _visibleRows)
4808
else if (GetScrollOffset() >
TotalProperties
)
4810
SetScrollOffset(
TotalProperties
+ 1 - _visibleRows);
4821
ScrollBar.Maximum = Math.Max(0,
TotalProperties
- 1);
4822
if (hidden != (
TotalProperties
< _visibleRows))
5195
if (
TotalProperties
> 0 && TryGetService(out IMenuCommandService? menuCommandService))