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