[SOLVED] ChildWindow Closing event handled => "The user interface cannot previewed"

Please report bugs here. If you are unsure whether something is a bug or an expected behavior, please post it on the "Technical Support" forum instead, and wait for a moderator to handle/move the post.
Sesztak
Posts: 172
Joined: Fri Jun 24, 2016 2:19 am

[SOLVED] ChildWindow Closing event handled => "The user interface cannot previewed"

Postby Sesztak » Sat Sep 17, 2016 9:35 am

Dear JS-Support,

if somebody make event handler for ChildWindow Closing event "The user interface cannot previewed".

<ChildWindow x:Name="chilWindow" Content="ChildWindow" Background="Green" Width="200" HasCloseButton="True"
IsEnabled="True" Title="some title ..." Closing="chilWindow_Closing"
Height="200" Margin="10" Padding="5"/>

// C# part -not relevant:
private void chilWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
{
chilWindow.Visibility = Visibility.Collapsed;
}

It's annoying.

Best Regards,

Péter

JS-Support @Userware
Site Admin
Posts: 1067
Joined: Tue Apr 08, 2014 3:42 pm

Re: [SOLVED] ChildWindow Closing event handled => "The user interface cannot previewed"

Postby JS-Support @Userware » Mon Sep 19, 2016 5:09 am

Now fixed in Beta 9.3.

Thanks.
JS-Support


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 2 guests

 

 

cron