Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 16:44
    Build #1720 passed
  • 16:44
    punker76 milestoned #4214
  • 16:38

    punker76 on develop

    build: Build symbol package (.s… (compare)

  • 16:20
    Build #1719 passed
  • 16:13

    punker76 on develop

    refactor(window): implement saf… (compare)

  • 15:56
    punker76 closed #4044
  • 15:56
    punker76 commented #4044
  • 11:02
    Build #1718 passed
  • 10:56

    punker76 on Refactoring_async_Dialogs

    (compare)

  • 10:56

    punker76 on develop

    refactor(dialogs): simplify Sho… refactor(dialogs): simplify Sho… refactor(dialogs): simplify Sho… and 12 more (compare)

  • 10:56
    punker76 closed #4220
  • 10:56
    punker76 closed #2400
  • 10:55
    Build #1717 passed
  • 10:49
    punker76 edited #4220
  • 10:49
    punker76 synchronize #4220
  • 10:49

    punker76 on Refactoring_async_Dialogs

    refactor(dialogs): handle IsCan… (compare)

  • 10:19
    Build #1716 passed
  • 10:13
    punker76 synchronize #4220
  • 10:13

    punker76 on Refactoring_async_Dialogs

    refactor(dialogs): simplify Wai… (compare)

  • Dec 01 22:26
    Build #1715 passed
Jan Karger ツ ☀
@punker76
@bolt-b You can ask first here.
bolt-b
@bolt-b
@punker76,
The way how I launch childwindows is below.
The question is how to stop time update when window is already appeared on the screen.
in other words, I have time of window appearance, but it constantly updates with system time.
How do I "freeze" time of appearance at window title?
 private async void Diag_btn_Click(object sender, RoutedEventArgs e)
        {
            DiagWindow diagwindow = new DiagWindow() { IsModal = false, AllowMove = true, IsOpen = false }; 
            if (!diagwindow.IsOpen)

               diagwindow.Title = $"diagnostics- {DateTime.Now.ToShortTimeString()}";
            await this.ShowChildWindowAsync(diagwindow, RootGrid);

            Settings.Default.Save(); 

        }
闫驚鏵(Jinhua Yan)
@yanjinhuagood
Excuse me to share an open source project of mine https://github.com/yanjinhuagood/WPFDevelopers
Torchok19081986
@Torchok19081986
hiho, can someone pls tell me, how do i set color of Text in MessageDialogAsync to hexvalue? I found only ColorScheme.
AKruimink
@AKruimink
random question, got a simple window, added nothing yet, and got this weird border like line going through the window buttons, did some searching/trying around, but couldnt find wat is causing it, does anyone here have an idea?
tried setting border thickness to 0, but doesnt seem to affect it
AKruimink
@AKruimink
image.png
this is a new Window, that has only been changed to MetroWindow (nothing else added), uses Controls.xaml, Fonts,xaml and Light.Amber.xaml as resources
anyone an idea wat it might be?
Jan Karger ツ ☀
@punker76
@AKruimink What version of MahApps and ControlzEx?
Tim
@timunie
Very strange... Can you start the exe without VS debugger?
Maybe it is some adorner for layout 🤷🏻‍♀️
AKruimink
@AKruimink
mahapps 2.4.7, should i install ControlzEx seperatly? thought it was included as a dependency @punker76
great call @timunie
image.png
running the exe itself seems not result in that weird border like line
am running vs2022, so they might have some hickups still, although annoying, as long as it doesnt show up on my finished product, i can't complain :thumbsup:
Tim
@timunie
VS 2022 is still in beta I think.
AKruimink
@AKruimink
it is yes,
knowing its not there when running the exe is good enough for now :thumbsup:
Tim
@timunie
:-)
:+1: happy hacktober
AKruimink
@AKruimink
and you as well :)
Adam Buchanan
@RejectKid

image.png

is there a way to move the water mark on the numericUpDown to be on the left? (ive tried the watermark alignment)

Tim
@timunie
Hi @RejectKid Looks wrong to me. Can you tell us which version you are using?
Adam Buchanan
@RejectKid
using 2.4.7

in the test application (mahapps.demo) also has the same thing

also for context the top 2 are text boxes

Tim
@timunie
I ll have to look into this another day
Seems like the control template is broken
Jan Karger ツ ☀
@punker76
@RejectKid You can fix this as workaround and set HorizontalContentAlignment to Stretch
Jan Karger ツ ☀
@punker76
@RejectKid I will hotfix this asap
Adam Buchanan
@RejectKid
@punker76 you are the greatest!
bolt-b
@bolt-b

Hello everyone,
Slider,

 Style="{DynamicResource MahApps.Styles.Slider.Flat}"

Is there a property that doesn't affect visible style of slider but at the same time it doesn't allow to move slider's grip? However it might be moved via binding.

thanks.

Tim
@timunie
Hi @bolt-b I think not out of the box
You can try to set IsHittestVisible="false" and Focusable="false" and see if it helps you
Daniel Mittelstadt
@DMtsdt
Hi all
When trying to perform MoveFocus(FocusNavigationDirection.Previous) on a NumericUpDown the method returns true yet focus doesn't move
Any chance it focuses an element within the control then moves focus back to the TextBox part?
Tim
@timunie
That may be the case. Can you open an issue for this?
Daniel Mittelstadt
@DMtsdt
Sure
Daniel Mittelstadt
@DMtsdt
Looked at it a bit further, I think it might be because I'm using an attached behavior to invoke the method, which attaches to the TextBox part as the AssociatedObject
Not sure how to describe the issue without further testing
Tim
@timunie
@DMtsdt best would be if you can provide a sample via GitHub.
Daniel Mittelstadt
@DMtsdt
I should try first without the attached behaviour, otherwise it'd be too ambiguous
TripleNico
@TripleNico
Hi all! I just noticed today that there is a "MaterialDesignThemes.MahApps" Nuget package. What does this bring to the UI?
Jan Karger ツ ☀
@punker76
@TripleNico It has styles for MaterialDesignInXaml for some controls of MahApps. It’s from MDIX itself.
Fela Ameghino
@FrayxRulez
:wave: I was wondering if there's any way to show the system title bar while using MetroWindow...
(Might sound dumb, but I need to change this programmatically)
Tim
@timunie
Hi
@FrayxRulez I don't see an eays root here in WPF
I think you can either use the MetroWindow or normal Window
Fela Ameghino
@FrayxRulez
Oh noooo
That's what I was afraid of. I mean, I guess I can sort it out (in the end I have to decide if I need system chrome or not before opening the window)