Compartilhar via


ScrollViewer.SetHorizontalScrollBarVisibility Método

Definição

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

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

Parâmetros

element
DependencyObject

O elemento no qual definir o valor da propriedade.

horizontalScrollBarVisibility
ScrollBarVisibility

O valor da propriedade a ser definido.

Aplica-se a