1 write to _sbFlag
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\WindowsScrollBar.cs (1)
43
_sbFlag
= sbFlag;
27 references to _sbFlag
UIAutomationClientsideProviders (27)
MS\Internal\AutomationProxies\WindowsListViewScroll.cs (4)
68
if (!Misc.GetScrollInfo(_hwnd,
_sbFlag
, ref si))
87
bool isVerticalScroll = IsScrollBarVertical(_hwnd,
_sbFlag
);
90
Misc.SetScrollPos(_hwnd,
_sbFlag
, pos, true);
119
if (!Misc.GetScrollInfo(_hwnd,
_sbFlag
, ref si))
MS\Internal\AutomationProxies\WindowsScrollBar.cs (23)
136
return (iid == RangeValuePattern.Pattern && WindowScroll.Scrollable (_hwnd,
_sbFlag
) && HasValuePattern (_hwnd,
_sbFlag
)) ? this : null;
147
if (
_sbFlag
== NativeMethods.SB_CTL)
155
int idObject =
_sbFlag
== NativeMethods.SB_VERT ? NativeMethods.OBJID_VSCROLL :
_sbFlag
== NativeMethods.SB_HORZ ? NativeMethods.OBJID_HSCROLL : NativeMethods.OBJID_CLIENT;
183
if (
_sbFlag
== NativeMethods.SB_VERT)
236
return IsScrollBarVertical(_hwnd,
_sbFlag
) ? OrientationType.Vertical : OrientationType.Horizontal;
281
IsScrollBarVertical(_hwnd,
_sbFlag
)
301
if (item == ScrollBarItem.UpArrow && !IsScrollBarWithThumb (_hwnd,
_sbFlag
))
321
if (item == ScrollBarItem.DownArrow && !IsScrollBarWithThumb (_hwnd,
_sbFlag
))
348
NativeMethods.Win32Rect rc = new NativeMethods.Win32Rect(WindowsScrollBarBits.GetBoundingRectangle(_hwnd, this, item,
_sbFlag
));
352
return new WindowsScrollBarBits (_hwnd, this, (int) item,
_sbFlag
);
382
return !Misc.IsEnabled(_hwnd) || !HasValuePattern(_hwnd,
_sbFlag
);
540
if (
_sbFlag
!= NativeMethods.SB_CTL || Misc.GetScrollBarInfo(_hwnd, NativeMethods.OBJID_CLIENT, ref sbi))
542
return new WindowsScrollBarBits (_hwnd, this, (int) index,
_sbFlag
);
591
if (!Misc.GetScrollInfo(_hwnd,
_sbFlag
, ref si))
602
if ((Environment.OSVersion.Version.Major < 6) && (
_sbFlag
== NativeMethods.SB_HORZ) && (Misc.IsControlRTL(_parent._hwnd)))
642
if (!Misc.GetScrollInfo(_hwnd,
_sbFlag
, ref si))
701
if (
_sbFlag
== NativeMethods.SB_CTL)
703
Misc.SetScrollPos(_hwnd,
_sbFlag
, val, true);
709
IsScrollBarVertical(_hwnd,
_sbFlag
) ? NativeMethods.WM_VSCROLL : NativeMethods.WM_HSCROLL;
744
if (
_sbFlag
== NativeMethods.SB_VERT)
748
else if (
_sbFlag
== NativeMethods.SB_HORZ)