All i can give you the definition and the format of the ScrollViewer class so that you can apply the same to your program and see whether it is working or not.
Code:
<LocalizabilityAttribute(LocalizationCategory.Ignore)> _
<TemplatePartAttribute(Name := "PART_HorizontalScrollBar", Type := GetType(ScrollBar))> _
<TemplatePartAttribute(Name := "PART_VerticalScrollBar", Type := GetType(ScrollBar))> _
<TemplatePartAttribute(Name := "PART_ScrollContentPresenter", Type := GetType(ScrollContentPresenter))> _
Public Class ScrollViewer _
Inherits ContentControl
ScrollViewer is not entirely visible, the ScrollViewer displays scrollbars that the user can use to move the content areas that are visible. The area that includes all of the content of the ScrollViewer is the extent. The visible area of the content is the viewport.
For more info click here
Bookmarks