Compartilhar via


IXRTextBox::GetVerticalScrollBarVisibility (Compact 2013)

3/28/2014

This method retrieves the visibility of the vertical scroll bar.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetVerticalScrollBarVisibility(
    __out XRScrollBarVisibility* ppVerticalScrollBarVisibility
) = 0;

Parameters

  • ppVerticalScrollBarVisibility
    [out] Pointer to an XRScrollBarVisibility enumerated type that indicates the visibility of the vertical scroll bar.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

If ppVerticalScrollBarVisibility is XRScrollBarVisibility_Disabled, the text box does not scroll vertically.

.NET Framework Equivalent

System.Windows.Controls.TextBox.VerticalScrollBarVisibility

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRTextBox
IXRTextBox::SetVerticalScrollBarVisibility