Skip to content
Discussion options

You must be logged in to vote

I have found an solution by myself.

In my Project I added an folder called "Styles". In this folder I added an Ressource Dictionary called "CustomScrollbar.xaml".

In the App.xaml I have added this line in the section "<ResourceDictionary.MergedDictionaries>":

In the MainWindow.xaml I had already an ScrollViewer. In the XAML-Designer I searched the "Style" component. In the Rightclick context menu I used the function "Convert in a new ressource" and set the name to "ScrollViewerCustom" and defined it in the "CustomScrollBar.xaml".

Then in the file "CustomScrollBar.xaml" appeared many styles regarding the scrollviewer.
I checked trough the code and got many StoryBoard errors.

After I under…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by xperia-droid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant