IXRScrollViewer::GetHorizontalScrollBarVisibility (Compact 2013)
3/28/2014
This method retrieves a value that indicates whether a horizontal scrollbar should be displayed inside this scroll viewer.
Syntax
virtual HRESULT STDMETHODCALLTYPE GetHorizontalScrollBarVisibility(
XRScrollBarVisibility *pValue
) = 0;
Parameters
- pValue
[out] Pointer to an XRScrollBarVisibility enumerated type that specifies the display state of the horizontal IXRScrollBar in this scroll viewer.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
You can also set the visibility of the horizontal scrollbar on a child element in a scroll viewer, by setting the attached property ScrollViewer.HorizontalScrollBarVisibility. For more information, see IXRDependencyObject::SetAttachedProperty(const WCHAR*, const WCHAR*, UINT).
.NET Framework Equivalent
System.Windows.Controls.ScrollViewer.HorizontalScrollBarVisibility
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |
See Also
Reference
IXRScrollViewer
IXRScrollViewer::SetHorizontalScrollBarVisibility