-
-
Notifications
You must be signed in to change notification settings - Fork 54
Samples
Jan Karger edited this page Jul 18, 2017
·
9 revisions
Directly in XAML
<simpleChildWindow:ChildWindow
IsOpen="{Binding IsChildWindowOpenOrNotProperty}"
HorizontalContentAlignment="Stretch"
VerticalContentAlignment="Stretch"
Padding="15"
ChildWindowImage="Error"
Title="TestChild 1">
<Grid>
</Grid>
</simpleChildWindow:ChildWindow>
Or with the ChildWindowManager
private async void OpenAChildWindow_OnButtonClick(object sender, RoutedEventArgs e)
{
// opens a cool child window
await this.ShowChildWindowAsync(new CoolChildWindow() { IsModal = false });
}