次の方法で共有


IXRTextBox::SetVerticalScrollBarVisibility (Compact 2013)

3/28/2014

This method sets the visibility of the vertical scroll bar.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetVerticalScrollBarVisibility(
    __in XRScrollBarVisibility pVerticalScrollBarVisibility
) = 0;

Parameters

  • pVerticalScrollBarVisibility
    [in] 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 pVerticalScrollBarVisibility 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::GetVerticalScrollBarVisibility