Bagikan melalui


ScrollViewer.SetVerticalScrollBarVisibility Metode

Definisi

Mengatur nilai properti dependensi VerticalScrollBarVisibility / ScrollViewer.VerticalScrollBarVisibility properti terlampir XAML pada elemen tertentu.

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)

Parameter

element
DependencyObject

Elemen untuk mengatur nilai properti.

verticalScrollBarVisibility
ScrollBarVisibility

Nilai yang akan ditetapkan.

Keterangan

Untuk informasi selengkapnya, lihat properti VerticalScrollBarVisibility .

Berlaku untuk

Lihat juga