Unable to use Style in xaml #233
Unanswered
ObsidianSilence
asked this question in
Q&A
Replies: 1 comment
-
Is this just a duplicate of #232? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is my first project using Stylet so I am probably missing something. I am opening a number of views that open other views, all of the views have a button that opens another view and a GoBack button. When I have all of the styling information in each button the project compiles and runs just fine.



When I pull the styling values out into Styles.xaml and use the Style tag
I get the following error message
"{DependencyProperty.UnsetValue}" is not a valid value for property 'Foreground'.
My question is how do i use a style sheet so I do not have to individually style a whole bunch of buttons?
Beta Was this translation helpful? Give feedback.
All reactions