
Visual Basic (Declaration) | |
---|---|
Public NotInheritable Class ChildNavigationEventArgs Inherits Intersoft.Client.Framework.ISRoutedEventArgs |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ChildNavigationEventArgs |
C# | |
---|---|
public sealed class ChildNavigationEventArgs : Intersoft.Client.Framework.ISRoutedEventArgs |
Delphi | |
---|---|
public class ChildNavigationEventArgs = class(Intersoft.Client.Framework.ISRoutedEventArgs)sealed; |
JScript | |
---|---|
public sealed class ChildNavigationEventArgs extends Intersoft.Client.Framework.ISRoutedEventArgs |
Managed Extensions for C++ | |
---|---|
public __gc __sealed class ChildNavigationEventArgs : public Intersoft.Client.Framework.ISRoutedEventArgs |
C++/CLI | |
---|---|
public ref class ChildNavigationEventArgs sealed : public Intersoft.Client.Framework.ISRoutedEventArgs |
The following example shows how to invalidate the data context when the page of the child frame has changed.
C# | ![]() |
---|---|
public partial class Customers : UXPage { public MobilePhones() { InitializeComponent(); } protected override void OnNavigatedFrom(NavigationEventArgs e) { base.OnNavigatedFrom(e); } // Executes when the user navigates to this page. protected override void OnNavigatedTo(NavigationEventArgs e) { LoadData(this.NavigationContext.QueryString); } // Called when a child navigation has occurred. protected override void OnChildNavigation(ChildNavigationEventArgs e) { LoadData(e.QueryString); } ... } |
The ChildNavigationEventArgs class provides data for the OnChildNavigation method. Through this method handler, you can examine values about the navigation request.
Intersoft.Client.Framework.ISRoutedEventArgs
Intersoft.Client.UI.Navigation.ChildNavigationEventArgs
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family