These are chat archives for punker76/MahApps.Metro.SimpleChildWindow

11th
Mar 2015
Jan Karger
@punker76
Mar 11 2015 21:47
@mikecousins whats going wrong?
Mike Cousins
@mikecousins
Mar 11 2015 21:49
i have created a child window
and it appears fine
but there is no translucent panel over the window
and it's not acting modal
<simpleChildWindow:ChildWindow x:Class="xxxx" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:system="clr-namespace:System;assembly=mscorlib" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" xmlns:simpleChildWindow="clr-namespace:MahApps.Metro.SimpleChildWindow;assembly=MahApps.Metro.SimpleChildWindow" Title="Invite New User" Height="200" Width="300" IsModal="True">
                var inviteWindow = new InviteWindow(emailAddress);
                var mainWindow = Application.Current.MainWindow as MainWindow;
                await mainWindow.ShowChildWindowAsync(inviteWindow);
Jan Karger
@punker76
Mar 11 2015 21:56
can you create an issue? so i can look into tomorrow (i'm only on my phone for now)
Mike Cousins
@mikecousins
Mar 11 2015 22:03
sure thing, thanks
Mike Cousins
@mikecousins
Mar 11 2015 22:10
i scrolled up and solved my problem, i had to specify ChildWindowHeight and ChildWindowWidth instead of Height and Width
thank you