-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Binding on dynamicRes are not updating #4492
Comments
file attached |
@punker76 |
@TheCamel No no, support is not stopped. Currently not so much time, but I try to do my best. I currently invested time to solve this issue here, but I have no due date for a fix. If you want to contribute then feel free to start and create PRs. Thx Jan |
@punker76 , just a short word. I found out where it comes from...but i would like to understood first :-) |
Hi @punker76, In the WPF philosophy: but here there's a mixture of the 2... it even crashes visual sutdio if I mess with the code too much. I've also noticed that the icons aren't displayed in the designer in the current version then you wanted to do the right thing and offer menuitems with templates and styles, but that's not the role of a graphical component; look at listboxes, etc., they only display a label by default. Hamburger should handle lists, that's all, with a style container ok but no more. I've kept the templating on the splitView because it works perfectly. However, I turned Hamburger into a Selector (ItemControl with current item management) and added the OptionList and Content properties. ItemsSources => click or commands=>change content. I've removed everything else, it's much simpler. I put in a demo tab and deleted the old code to make sure I didn't make a mistake and to have a mix of code. Then if you don't want to use/integrate my proposal, there's no problem, I understand, I can integrate the new burger control directly into my app, or even make a copy of mahapps because I have other ideas. My code is in https://github.com/TheCamel/MahApps.Metro/tree/issues_4492 I'll be waiting for you to get back to me as soon as possible to decide whether or not to PR it. |
@punker76 |
I worked on a solution (inspired by your inspection and solution), but had no time to finish yet... |
@punker76 |
localize is not working in our app
We use strings in dictionnary and all elements are refreshed into the new strings when we change the dictionnary but not the datagrid headers (not mahapps) and the hamburger menu... Tabs are working with some other controls
Steps to reproduce
with the demo app, include the stringManager joined
and 2 dictionnaries in the folder \Resources\XAML\Languages
change as resource
include one of them by default in the app.xaml
<ResourceDictionary Source="/MahApps.Metro.Demo;Component/Resources/XAML/Languages/Strings.fr-FR.xaml" />
bind a menuitem to a string in HamburgerMenuDefault.xaml
and bind also the tabs in HamburgerMenuSample.xaml
in the app start call to change the culture from FR to US
bind a command in the menu to change back
this.ShowProgressDialogCommand = new SimpleCommand<object>(o => true, x => StringManager.Instance.SetCulture("fr-FR") ); //this.RunProgressFromVm()
work in the tabs but not in the hamburger
Environment
The text was updated successfully, but these errors were encountered: