Comparteix a través de


ScrollViewer.SetVerticalScrollBarVisibility Método

Definición

Establece el valor de la propiedad de dependencia VerticalScrollBarVisibility en un elemento determinado.

public:
 static void SetVerticalScrollBarVisibility(System::Windows::DependencyObject ^ element, System::Windows::Controls::ScrollBarVisibility verticalScrollBarVisibility);
public static void SetVerticalScrollBarVisibility (System.Windows.DependencyObject element, System.Windows.Controls.ScrollBarVisibility verticalScrollBarVisibility);
static member SetVerticalScrollBarVisibility : System.Windows.DependencyObject * System.Windows.Controls.ScrollBarVisibility -> unit
Public Shared Sub SetVerticalScrollBarVisibility (element As DependencyObject, verticalScrollBarVisibility As ScrollBarVisibility)

Parámetros

element
DependencyObject

Elemento en el que se establecerá el valor de la propiedad.

verticalScrollBarVisibility
ScrollBarVisibility

Valor de la propiedad que se establecerá.

Se aplica a