Hi,
抱歉这次没有及时给你回复。
我测试了你的代码,看了下,对于这个PopupRegion来说,其实不需要复杂的逻辑了,就像一般正常去Add View到Region就可以:
private void btn_Test_Click(object sender, RoutedEventArgs e)
{
PopupWindow view = new PopupWindow();
regionManger.AddToRegion("PopupRegion", view);
regionManger.Regions["PopupRegion"].Activate(view);
}
Sincerely,
Bob Bao [MSFT]
MSDN Community Support |
Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
