-
-
Notifications
You must be signed in to change notification settings - Fork 744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugfix/550 tree view scroll #551
Bugfix/550 tree view scroll #551
Conversation
@@ -38,12 +38,21 @@ | |||
BorderThickness="{TemplateBinding BorderThickness}" | |||
CornerRadius="4"> | |||
<ScrollViewer | |||
CanContentScroll="{TemplateBinding ScrollViewer.CanContentScroll}" | |||
Name="_tv_scrollviewer_" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird name for XAML element. Something like ItemsPresenterScrollViewer
or PART_ScrollViewer
(if used by the class) would be better.
<Setter | ||
TargetName="_tv_scrollviewer_" | ||
Property="CanContentScroll" | ||
Value="true"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use capital True
for XAML.
@@ -38,12 +38,21 @@ | |||
BorderThickness="{TemplateBinding BorderThickness}" | |||
CornerRadius="4"> | |||
<ScrollViewer | |||
CanContentScroll="{TemplateBinding ScrollViewer.CanContentScroll}" | |||
Name="_tv_scrollviewer_" | |||
CanContentScroll="false" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use capital False
for XAML.
Pull request type
Please check the type of change your PR introduces:
What is the current behavior?
Issue Number: 550
What is the new behavior?
Now TreeView is scrolling correctly when virtualization is disabled
Other information