Monday, July 18, 2011
WPF- XBAP page unload event
Following code explain how to use page unload event in your XBAP pages.
--XAML
<Page x:Class="MyTestPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MyTestPage" Unloaded="Page_Unloaded">
--Code Behind
private void Page_Unloaded(object sender, RoutedEventArgs e)
{
// Your code here
}
Subscribe to:
Post Comments (Atom)
How to upload app to macOS
1. Open Terminal Press Cmd (⌘) + Space , type Terminal , and hit Enter . 2. Navigate to Your Build Output Directory Your .app file is likel...
-
Troubleshooting steps: Explicitly set LineBreakMode to WordWrap in XAML or code Verify label's HorizontalOptions and VerticalOptio...
-
Blazor would be great if: You want real-time updates as users input their cards You need rich client-side interactivity without writing J...
-
1. Open Terminal Press Cmd (⌘) + Space , type Terminal , and hit Enter . 2. Navigate to Your Build Output Directory Your .app file is likel...
No comments:
Post a Comment