Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 18 09:20
    nagababuthota984 commented #85
  • Mar 17 23:06

    punker76 on develop

    Update README.md (compare)

  • Jan 20 08:26
    punker76 labeled #125
  • Jan 20 07:59
    goldcode opened #125
  • Jul 10 2021 21:38
    andrewissac opened #124
  • Nov 20 2020 22:28

    punker76 on develop

    Merge branch 'develop' into main Fix using NuGetKeyVaultSignTool (compare)

  • Nov 20 2020 22:25

    punker76 on 2.0.0

    (compare)

  • Nov 20 2020 22:20

    punker76 on main

    Fix using NuGetKeyVaultSignTool (compare)

  • Nov 20 2020 22:13

    punker76 on main

    Fix using NuGetKeyVaultSignTool (compare)

  • Nov 20 2020 22:02
    punker76 closed #120
  • Nov 20 2020 22:01

    punker76 on main

    (GH-80) Drop targeting to frame… Update appveyor script Change all to new csproj format and 45 more (compare)

  • Nov 20 2020 21:44

    punker76 on develop

    Update CI build and dependencies (compare)

  • Nov 20 2020 21:39

    punker76 on develop

    Update CI build and dependencies (compare)

  • Sep 22 2020 20:26
    eliezeralmeida commented #122
  • Sep 22 2020 20:22
    eliezeralmeida closed #107
  • Sep 22 2020 20:22
    eliezeralmeida commented #107
  • Sep 22 2020 07:42
    Josrph opened #123
  • Aug 11 2020 15:48
    CarterAAelect closed #122
  • Aug 08 2020 19:21
    timunie commented #122
  • Aug 08 2020 14:16
    CarterAAelect commented #122
Darnell Williams
@Seeker1437
however if directly defined in the window it does not.
Jan Karger ツ ☀
@punker76
@ImaBrokeDude you can set the OverlayFillBehavior to WindowContent in
public static Task ShowChildWindowAsync(this Window window, ChildWindow dialog, OverlayFillBehavior overlayFillBehavior = OverlayFillBehavior.WindowContent)
or FullWindow
Lucas Levvy
@Levvy055
Can this childwindow be resizable?
Jan Karger ツ ☀
@punker76
yes
maybe
it's currently not implemented
Jan Karger ツ ☀
@punker76
@Levvy055 if you want create an issue for this
Lucas Levvy
@Levvy055
ok. Created
Darnell Williams
@Seeker1437
:D
This message was deleted
alt
Paolo Ghibaudo
@ghiboz
hi all!
i'm back again :)
just a question: now I do this:
Car.carPaint paint = new Car.carPaint();
await ((MetroWindow)Application.Current.MainWindow).ShowChildWindowAsync(paint);
and works everything good, but I wish do some code when the child window will be closed... how can I do? if I add some code below, with the await is executed after the ShowChildWindow is called
Jan Karger ツ ☀
@punker76
i will implement this as soon as possible
for a quick workaround, just listen to the IsOpen event
Paolo Ghibaudo
@ghiboz
thanks @punker76
all right?
Paolo Ghibaudo
@ghiboz
i've added this to my childwindow code:
        public delegate void ChildIsClosedEventHandler();
        public event ChildIsClosedEventHandler ChildIsClosedEvent;


        private void ChildWindow_ClosingFinished(object sender, RoutedEventArgs e)
        {
                if (ChildIsClosedEvent != null)
                {
                    ChildIsClosedEvent();
                }
        }
and works :)
Darnell Williams
@Seeker1437
Hey is it possible to draw a childwindow over a single control?
Jan Karger ツ ☀
@punker76
@ImaBrokeDude what do you mean whith a "single control"?
Darnell Williams
@Seeker1437
For example I wanted to show a childwindow over a datagrid.
I tried using it in an adorner, but when I change tabs and change back the adorner does not work again.
Also before we spoke of using the ChildWindowManager to have the childwindow have an overlay over the full window? It still to this day does not keep me from using the close/min/max buttons, however if the window is defined separately it is fine.
Darnell Williams
@Seeker1437
Mde a gif showing what I mean, just waiting for it to upload
Jan Karger ツ ☀
@punker76
ok
Darnell Williams
@Seeker1437
Yeah it's weird to me why it does that.
I prefer the behavior I get when I use separate XAML but I just don't want to have lots of files for something that will go in one place within the application
Darnell Williams
@Seeker1437
Should I turn this into an issue?
Jan Karger ツ ☀
@punker76
yeah, why not
Darnell Williams
@Seeker1437
What if it is related to its hirarcy?
Andrew Cartwright
@andrewcartwright1
Hello, I'm in two minds of adding this to replace an input dialog window that I'm using, question is - How do you get the result from the child window?
Jan Karger ツ ☀
@punker76
@andrewcartwright1 for now that's not possible, but i'll do this as soon as possible
Andrew Cartwright
@andrewcartwright1
I'll keep my eyes open for the pr :)
thank you :)
Jon Alza
@jonny123d
Hello, I'm using SimpleChildWindow in my solution. I can't see the controls that I'm adding to the SimpleChildWindow in design view in VisualStudio 2013, is any reason for that?
Jan Karger ツ ☀
@punker76
@jonny123d you must set the IsOpen property to true, or just create a ContentControl/UserControl with your content and put this inside the SimpleChildWindow
Jon Alza
@jonny123d
@punker76 Thank you for de answer. When I set the IsOpen property to true Visual Studio is "Not Responding"...
Jan Karger ツ ☀
@punker76
@jonny123d yeah sorry, you should use the latest alpha version
Jon Alza
@jonny123d
@punker76 Thank you! Now it works and I can see the design view.
Jon Alza
@jonny123d
Another question about SimpleChildWindow and IsModal property. When I use MessageBox.Show(), the parent window is not reacheable, not even exit button. When I use SimpleChildWindow with IsModal property set to true, I can use all buttons from title bar. Is any way to get the same behaviour of MessageBox?
Jan Karger ツ ☀
@punker76
@jonny123d not from the designer, but from code behind
@jonny123d you can set the OverlayFillBehavior to FullWindow
Jon Alza
@jonny123d
@punker76 Oh great! Checked and running! Thank you again!