question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Simplify ResourceDictionary

See original GitHub issue

In one of the controls, I saw that this is how they wrote their dictionaries

<Application
    ...
    xmlns:ui="http://schemas.modernwpf.com/2019">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ui:ThemeResources />
                <ui:XamlControlsResources />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>
</Application>

This is very good and simple, It would be great if the HandyControl also supported it something like this:

<hc:Controls/>
<hc:Theme Skin="Light"/>

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
NaBiancommented, Dec 3, 2020

I think I’ve found a solution, wait a second.

0reactions
ghost1372commented, Dec 11, 2020

I came up with some interesting results If there is no problem, this feature will be added and simplified dictionary will be get improveme😁

Read more comments on GitHub >

github_iconTop Results From Across the Web

Simplify resource dictionary addressing in wpf
There is no problem with this method and all resources can be identified by VS IntelliSense. Now to make it easier to use...
Read more >
Themes - Simplified Resource Dictionary Download
This is file contains a duplication of the XAML resource files used to create all the WPF themes (skins). You are already getting...
Read more >
WPF Resource Dictionary Basics
The resource dictionary is a simple way to simplify the coding of WPF views, but the syntax can be less than obvious. In...
Read more >
Using styles and resources to simplify your xaml
A much better solution is to create a set of styles and resources that build on the existing styles in order simply the...
Read more >
Is there a mod to simplify resources? : r/spaceengineers
I know a lot of people are going to hate me for asking for it, but is there a mod that removes most...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found