-
Hi guys,
And I want to use the scrollbar style of the listbox and listview of my project from the HandyControl component.(Only scrollbar style and i don't want to use scrollviewer) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
<ListBox.Resources>
<Style TargetType="ScrollBar" BasedOn="{StaticResource ScrollBarBaseStyle}" />
</ListBox.Resources> should do the trick since neither of the themes explicitly sets style on scrollbars. It will affect all scrollbars inside the ListBox though. If you don't want that, you will have to override the control template. |
Beta Was this translation helpful? Give feedback.
should do the trick since neither of the themes explicitly sets style on scrollbars. It will affect all scrollbars inside the ListBox though. If you don't want that, you will have to override the control template.