Compartilhar via


ScrollViewer.SetVerticalScrollBarVisibility Método

Definição

Define o valor da propriedade de dependência VerticalScrollBarVisibility para um determinado elemento.

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

O elemento no qual definir o valor da propriedade.

verticalScrollBarVisibility
ScrollBarVisibility

O valor da propriedade a ser definido.

Aplica-se a