Exportar (0) Imprimir
Expandir todo

TextBoxBase.HorizontalScrollBarVisibility (Propiedad)

Gets or sets a value that indicates whether a horizontal scroll bar is shown.

Espacio de nombres: System.Windows.Controls.Primitives
Ensamblado: PresentationFramework (en presentationframework.dll)
Espacio de nombres XML:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public ScrollBarVisibility HorizontalScrollBarVisibility { get; set; }
/** @property */
public ScrollBarVisibility get_HorizontalScrollBarVisibility ()

/** @property */
public void set_HorizontalScrollBarVisibility (ScrollBarVisibility value)

public function get HorizontalScrollBarVisibility () : ScrollBarVisibility

public function set HorizontalScrollBarVisibility (value : ScrollBarVisibility)

<object HorizontalScrollBarVisibility="ScrollBarVisibility" .../>

Valor de propiedad

A value that is defined by the ScrollBarVisibility enumeration. The default value is Hidden.

The following example demonstrates how to set the value of the HorizontalScrollBarVisibility property by using Extensible Application Markup Language (XAML).

<TextBox TextWrapping="Wrap"
         Name="myTextBox" 
         Width="500" 
         Height="200" 
         AcceptsReturn="True"
         IsUndoEnabled="True"
         VerticalScrollBarVisibility="Visible"
         HorizontalScrollBarVisibility="Auto" 
         Margin="25">

Microsoft .NET Framework 3.0 es compatible con Windows Vista, Microsoft Windows XP SP2 y Windows Server 2003 SP1.

.NET Framework

Compatible con: 3.0

Adiciones de comunidad

AGREGAR
Mostrar:
© 2014 Microsoft