RichTextBox.HorizontalScrollBarVisibility Property
Silverlight
Gets or sets the visibility of the horizontal scroll bar.
Namespace: System.Windows.Controls
Assembly: System.Windows (in System.Windows.dll)
<RichTextBox HorizontalScrollBarVisibility="scrollBarVisibilityValue"/>
XAML Values
Property Value
Type: System.Windows.Controls.ScrollBarVisibilityThe visibility of the horizontal scroll bar. The default is Hidden.
If the HorizontalScrollBarVisibility property is set to Disabled, the RichTextBox does not scroll horizontally. If the TextWrapping property is set to Wrap, the HorizontalScrollBarVisibility property is automatically set to Disabled and any property changes to the HorizontalScrollBarVisibility are ignored.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.