1 write to nPos
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\WindowsScroll.cs (1)
313
si.
nPos
= newPos;
20 references to nPos
UIAutomationClientSideProviders (20)
MS\Internal\AutomationProxies\WindowsListView.cs (1)
1697
delta = (future - si.
nPos
) * (cPelsAll / (si.nMax + 1 - si.nMin));
MS\Internal\AutomationProxies\WindowsListViewScroll.cs (5)
96
dx = (int)((pos - si.
nPos
) * ((double)cPelsAll / (si.nMax + 1 - si.nMin)));
102
dy = (int)((pos - si.
nPos
) * ((double)cPelsAll / (si.nMax + 1 - si.nMin)));
115
if (si.
nPos
!= pos)
121
dx = (pos - si.
nPos
) * (cPelsAll / (si.nMax + 1 - si.nMin));
127
dy = (pos - si.
nPos
) * (cPelsAll / (si.nMax + 1 - si.nMin));
MS\Internal\AutomationProxies\WindowsScroll.cs (9)
240
return 100.0 * (si.
nPos
- si.nMin) / ((si.nMax - delta) - si.nMin);
309
if (newPos == si.
nPos
)
319
int wParam = NativeMethods.Util.MAKELONG(NativeMethods.SB_THUMBPOSITION, si.
nPos
);
322
if (fRet && Misc.GetScrollInfo(hwnd, sbFlag, ref si) && si.
nPos
!= newPos)
330
ScrollAmount prevAmount = si.
nPos
> newPos ? ScrollAmount.SmallDecrement : ScrollAmount.SmallIncrement;
333
ScrollAmount amount = si.
nPos
> newPos ? ScrollAmount.SmallDecrement : ScrollAmount.SmallIncrement;
337
if (prevAmount != amount || prevPos == si.
nPos
)
341
prevPos = si.
nPos
;
343
} while (fRet && Misc.GetScrollInfo(hwnd, sbFlag, ref si) && si.
nPos
!= newPos);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (3)
588
return GetScrollMaxValue(si) - si.
nPos
;
590
return si.
nPos
;
634
if (val == si.
nPos
)
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (2)
552
if ((si.
nPos
== si.nMax) && (wParam == NativeMethods.SB_PAGEDOWN || wParam == NativeMethods.SB_LINEDOWN))
559
if ((si.
nPos
== si.nMin) && (wParam == NativeMethods.SB_PAGEUP || wParam == NativeMethods.SB_LINEUP))