Wpf 类似于页面的窗口
我在.xaml文件中创建了一个窗口,其中包含“加载”和“关闭”事件,现在我想将窗口更改为“加载”的页面,即页面加载存在,但没有可用的“关闭”标记,是否有其他选择 窗户Wpf 类似于页面的窗口,wpf,Wpf,我在.xaml文件中创建了一个窗口,其中包含“加载”和“关闭”事件,现在我想将窗口更改为“加载”的页面,即页面加载存在,但没有可用的“关闭”标记,是否有其他选择 窗户 Title="MainWindow" Height="464" Width="733" Loaded="Window_Loaded" Closing="Window_Closing" > 第页 Title="Page1" Height="464" Width="733" Loaded="Page_Loaded" >
Title="MainWindow" Height="464" Width="733" Loaded="Window_Loaded" Closing="Window_Closing" >
第页
Title="Page1" Height="464" Width="733" Loaded="Page_Loaded" >
页面的关闭不存在,但存在事件
System.Windows.Application.Current.Exit
窗口和页面同时出现
或认为事件
Unloaded
既在窗口中也在页面中