Intersoft ClientUI Documentation
ChildNavigationEventArgs Class
Members  Example 



Provides data for the ChildNavigation event.
Object Model
ChildNavigationEventArgs ClassRoutedEvent Class
Syntax
Public NotInheritable Class ChildNavigationEventArgs 
   Inherits Intersoft.Client.Framework.ISRoutedEventArgs
Dim instance As ChildNavigationEventArgs
public sealed class ChildNavigationEventArgs : Intersoft.Client.Framework.ISRoutedEventArgs 
public ref class ChildNavigationEventArgs sealed : public Intersoft.Client.Framework.ISRoutedEventArgs 
Remarks
The ChildNavigationEventArgs class provides data for the OnChildNavigation method. Through this method handler, you can examine values about the navigation request.
Example
The following example shows how to invalidate the data context when the page of the child frame has changed.
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);
    }
    ...
}
Inheritance Hierarchy

System.Object
   System.EventArgs
      System.Windows.RoutedEventArgs
         Intersoft.Client.Framework.ISRoutedEventArgs
            Intersoft.Client.UI.Navigation.ChildNavigationEventArgs

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ChildNavigationEventArgs Members
Intersoft.Client.UI.Navigation Namespace
Navigation Overview

Send Feedback