Skip to content

Why do I need to reimplement a ResourceDictionary to access some of it's properties? #18344

Answered by stevemonaco
Trevo525 asked this question in Q&A
Discussion options

You must be logged in to vote

Can you clarify your post?

First you say:

So, I put a Styles in the Checkbox and tried to select that grid. I used lime as the background to show that I found the correct thing as well.

Then show an example of a selector that does as such. Which works in my testing. Then you say:

It did not find it. I tried all sorts of things to find that control and couldn't find any luck.

???

For some general insight, selectors can fail to work as expected for a number of reasons. The biggest reasons are that devs don't read the underlying ControlTheme for the theme they're using nor do they understand setter precedence. It's similar to using an API that you haven't read the docs for. Themes are opin…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Trevo525
Comment options

@stevemonaco
Comment options

@Trevo525
Comment options

Answer selected by Trevo525
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants