2 writes to visibleRows
System.Windows.Forms (2)
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
4530
visibleRows
= (int)Math.Ceiling(((double)size.Height)/(1+RowHeight));
4547
visibleRows
= rgipesAll.Count - scroll;
28 references to visibleRows
System.Windows.Forms (28)
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (28)
1581
if (row < 0 || row >= this.
visibleRows
) {
1944
if (
visibleRows
== -1 || totalProps == -1 || !HasEntries) {
3033
int offset = next ?
visibleRows
- 1 : 1 -
visibleRows
;
3048
row =
visibleRows
- 1;
3370
newOffset = Math.Min(newOffset, totalProps -
visibleRows
+1);
3401
newOffset = Math.Min(newOffset, totalProps -
visibleRows
+1);
3414
if (this.scrollBar.Value > (scrollBar.Maximum-
visibleRows
+1)) {
3448
int endRow =
visibleRows
- 1;
3471
int cPropsVisible = Math.Min(totalProps - GetScrollOffset(),1+
visibleRows
);
3775
bool lastRow = (selectedRow+1) ==
visibleRows
;
3807
bool selectionVisible = (selectedGridEntry != null && selectedRow >=0 && selectedRow <=
visibleRows
);
4280
if (curRow >=0 && curRow <
visibleRows
-1) {
4389
if (row < 0 || row >=
visibleRows
) {
4546
if ((scroll +
visibleRows
) >= rgipesAll.Count) {
4559
Debug.WriteLineIf(CompModSwitches.DebugGridView.TraceVerbose, "\tvisibleRows:" + (
visibleRows
).ToString(CultureInfo.InvariantCulture));
4608
int countFromEnd =
visibleRows
- row;
4638
if (value && newItems > 0 && newItems <
visibleRows
&& (row + (newItems)) >=
visibleRows
&& newItems < curRow) {
4665
int posNew = Math.Max(0, Math.Min(totalProps -
visibleRows
+ 1, cOffset));
4667
if (posNew != posOld && IsScrollValueValid(posNew) &&
visibleRows
> 0) {
4879
if (totalProps <
visibleRows
) {
4883
SetScrollOffset((totalProps+1) -
visibleRows
);
4887
if (
visibleRows
> 0) {
4888
ScrollBar.LargeChange =
visibleRows
-1;
4891
if (fHidden != (totalProps <
visibleRows
)) {
5389
m.Result = (IntPtr)Math.Min(
visibleRows
, totalProps);
7803
if (itemRow < gridView.
visibleRows
) {