ScrollViewer.SetHorizontalScrollBarVisibility Metoda

Definice

Nastaví hodnotu HorizontalScrollBarVisibility vlastnosti závislosti na daný prvek.

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)

Parametry

element
DependencyObject

Prvek, u kterého chcete nastavit hodnotu vlastnosti.

horizontalScrollBarVisibility
ScrollBarVisibility

Hodnota vlastnosti, kterou chcete nastavit.

Platí pro