Compartilhar via


IXRTextBox::SetHorizontalScrollBarVisibility (Compact 2013)

3/28/2014

This method sets the visibility of the horizontal scroll bar.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetHorizontalScrollBarVisibility(
    __in XRScrollBarVisibility pHorizontalScrollBarVisibility
) = 0;

Parameters

  • pHorizontalScrollBarVisibility
    [in] An XRScrollBarVisibility enumerated type that indicates the visibility of the horizontal scroll bar.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

If pHorizontalScrollBarVisibility is set to XRScrollBarVisibility_Disabled, the text box does not scroll horizontally.

.NET Framework Equivalent

System.Windows.Controls.TextBox.HorizontalScrollBarVisibility

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRTextBox
IXRTextBox::GetHorizontalScrollBarVisibility