Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 24 15:56
    Build #1779 passed
  • Jan 24 15:48
    fredericoregateiro synchronize #4256
  • Jan 24 15:42
    fredericoregateiro commented #4244
  • Jan 24 14:28
    punker76 commented #4244
  • Jan 24 14:04
    Build #1778 passed
  • Jan 24 13:57
    fredericoregateiro opened #4256
  • Jan 24 13:01
    Build #1777 passed
  • Jan 24 12:53
    fredericoregateiro synchronize #4244
  • Jan 24 12:14
    Build #1776 passed
  • Jan 24 12:05
    Build #1775 passed
  • Jan 24 11:57
    Build #1774 passed
  • Jan 24 11:50
    punker76 synchronize #4247
  • Jan 24 11:50
    punker76 synchronize #4244
  • Jan 24 11:50
    punker76 commented #4241
  • Jan 24 11:49

    punker76 on develop

    Fixed bug - Missing FallbackVal… Merge branch 'MahApps:develop' … Merge branch 'develop' into dev… and 2 more (compare)

  • Jan 24 11:49
    punker76 closed #4241
  • Jan 24 11:47
    punker76 labeled #4244
  • Jan 24 11:47
    punker76 edited #4244
  • Jan 24 10:07
    Build #1773 passed
  • Jan 24 09:59
    oriches synchronize #4241
Tim
@timunie
image.png
image.png
bolt-b
@bolt-b
...and it works by true coming from binding only?
Tim
@timunie
yep
And I think there is an issue in your MVVM
So please share your code of the Property
bolt-b
@bolt-b
nothing special... standard property made by code snippet.
I have got hundreds identical ones, all working.
 public bool BooleanValue
        {
            get { return _booleanValue; }
            set { Set(ref _booleanValue, value); }
        }
        private bool _booleanValue;
Tim
@timunie
very strange, but not MahApps related as it works in the demo
bolt-b
@bolt-b
@timunie thank you, seems I found a culprit. it was App specific issue. Not WPF and Mahapps.
Tim
@timunie
I sent you a private link
It's a tool which helped me in the past
bolt-b
@bolt-b
Oh, I see.
JendolaRajda
@JendolaRajda
Hello there! I've been using MahApps for some time now, but only now am I really getting into utilizing the ThemeManager within my apps and have a little question or a possible feature request: Are there any brushes within each of the themes that could give me the Accent colour when using a Light theme, but a dark grey colour when using a Dark theme? Or perhaps vice versa - a brush that would produce accented colour for Dark theme and a shade of dark grey for the Light theme? There's a lot of brushes that switch between dark grey and white depending on the theme, but I haven't found any that would switch between the accent and grey.
Tim
@timunie
Hi @JendolaRajda
You can roll your own ThemeManager and adjust it the way you need to.
Have a look at
Override the LibraryThemeProvider
Happy theming
Tim
TripleNico
@TripleNico
Hi all! Is there a helper function in Mahapps to start a MetroWindow on it's own thread instead of the MainWindow thread?
rabster007
@rabster007
Hi! Does anyone have any experience with TextBoxHelper.IsWaitingForData? Is there a way to change the color of the effect? When my theme is set to dark, the effect isn't visible.
Tim
@timunie
Hi @TripleNico This is normal WPF and not MahApps related.
Anyway you can find more information about this here: https://is.gd/uEQ4Yw
Happy coding, Tim
Tim
@timunie
Hi @rabster007
I think you can override this effect by overriding this DynamicResource in your App.xaml or in any Resources section
Just try to copy&paste the lines given in the link and modify to your needs. I have not tested it yet, so if it doesn't work please come back.
Happy coding, Tim
rabster007
@rabster007
Thanks Tim, I actually did end up doing that shortly after asking my question. I can get it to work as long as I set a specific color but I still haven't been able to set it based on the theme (I'd like to set it to the current accent). If you have any additional suggestions, I appreciate the guidance. Thanks :)
rabster007
@rabster007
Cancel that.. I was able to figure it out after sleeping on it :)
Tim
@timunie
@rabster007 you are welcome.
Sebastian Matus
@sebamatusr
Hi
does anyone encountered a weird behavior using dialog windows along with child windows?
I open a progress dialog when I open a childwindow to wait for an api call
but looks bad
image.png
its like the modal is behind the childwindow and I can click it, move it, etc
Tim
@timunie
Hi @sebamatusr can you share the sample code or create a sample App?
Tim
@timunie
Hi @sebamatusr I tried to reproduce this in the demo and I was able to reproduce your issue.
wait
image.png
Tim
@timunie
it works on another childwindow. Just try the second button:
image.png
TripleNico
@TripleNico
Is there a way to bind all child window theme's to the MainWindow theme? In other words if the MainWindow Theme is changed than all child windows have to sync with that.
Tim
@timunie
Hi @TripleNico should normally work via DynamicResource
or you listen to the ThemeChanged-Event of the ThemeManager
TripleNico
@TripleNico
Found a simpler way. When i peeked the definition i found that you can also supply the Application. So i changed it to this ThemeManager.Current.ChangeTheme(Application.Current, "Dark.Orange") and now it works like i would! :-)
@timunie But still thanks for your swift reply! :-)
Tim
@timunie
yeah that is my first option ^^