ScrollViewer.SetVerticalScrollBarVisibility Método

Definición

Establece el valor de la propiedad de dependencia VerticalScrollBarVisibility o ScrollViewer.VerticalScrollBarVisibility la propiedad adjunta XAML en un elemento especificado.

public:
 static void SetVerticalScrollBarVisibility(DependencyObject ^ element, ScrollBarVisibility verticalScrollBarVisibility);
 static void SetVerticalScrollBarVisibility(DependencyObject const& element, ScrollBarVisibility const& verticalScrollBarVisibility);
public static void SetVerticalScrollBarVisibility(DependencyObject element, ScrollBarVisibility verticalScrollBarVisibility);
function setVerticalScrollBarVisibility(element, verticalScrollBarVisibility)
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 que se va a establecer.

Comentarios

Para obtener más información, consulta la propiedad VerticalScrollBarVisibility .

Se aplica a

Consulte también