public static extern ScrollBarVisibility GetVerticalScrollBarVisibility([In] DependencyObject element); public static extern void SetVerticalScrollBarVisibility([In] DependencyObject element, [In] ScrollBarVisibility verticalScrollBarVisibility);