ResourceDictionary Viewer #41
michael-hawker
started this conversation in
Feature Feedback
Replies: 0 comments
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.
-
Feature Background
Status: In-progress
Tracking Issue: #8
The resource view lets you open a file that's a
ResourceDictionaryand visualize the contents of the keys within it be it raw values/brushes or styles for controls.(This was a hidden experimental feature in v1.x, but has been improved upon since.)
Technical Info
If you're looking to help improve the functionality and richness of display here, the code for the
ResourceViewercan be found in the XamlStudio.Toolkit project'sResourceViewerfolder.There is a template for each type of resource found in
ResourceTemplates.xaml, it can provide a good starting point to understand how the resource viewer works and can be extended for other types. The template is automatically selected by type name, using reflection, so you should only need to add a new DataTemplate for the given type naming it<type>Template.Feedback
Known Issues: #8
Let us know how you feel about the resource viewer and if there's other types you'd like to visualize.
Beta Was this translation helpful? Give feedback.
All reactions