Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 09:59
    oriches synchronize #4241
  • 09:53
    oriches commented #4241
  • 08:09
    camvinh commented #4247
  • 02:54
    zerodev1200 edited #4255
  • Jan 23 23:17
    Build #1772 passed
  • Jan 23 23:10
    Build #1771 passed
  • Jan 23 23:04
    punker76 synchronize #4241
  • Jan 23 23:04
    Build #1770 passed
  • Jan 23 23:03
    punker76 edited #4241
  • Jan 23 23:02
    punker76 labeled #4241
  • Jan 23 23:02
    punker76 edited #4241
  • Jan 23 22:57
    punker76 synchronize #4244
  • Jan 23 22:57
    punker76 synchronize #4247
  • Jan 23 22:56
    punker76 commented #4247
  • Jan 23 22:56
    Build #1769 passed
  • Jan 23 22:48

    punker76 on develop

    feat(targetframeworks) : adding… Merge branch 'develop' into iss… Merge pull request #4250 from n… (compare)

  • Jan 23 22:48
    punker76 closed #4250
  • Jan 23 22:48
    punker76 closed #4249
  • Jan 23 22:48
    Build #1768 passed
  • Jan 23 22:41
    punker76 synchronize #4250
Tim
@timunie
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 ^^
Roy
@Roypy
Hi, I just recently started using MahApps.Metro and its amazing but I had a quick question regarding the MetroWindow, I am using Windows 11 and I like that the window corners are slightly rounded, the metro window doesn't have these rounded corners. Is there a way for me to implement the rounded corners while keeping the useful features from MahApps?
Jan Karger ツ ☀
@punker76
@Roypy In these early windows 11 days, nope.
Roy
@Roypy
@punker76 Got it, thanks.
TripleNico
@TripleNico
@Roypy a user called Nuklon has already opend issue #4140 for this, you can track and/or support the progress there.
Aura09c
@Aura09c

Hello i am starting out this one project and some of the parts are really complicated . And i am happy to learn during the complicated parts. But i feel i need more people. If anyone is interested in working together and learning together feel free to dm me

my discord is Aura#5549