Intersoft ClientUI Documentation
ChildNavigationEventArgs Class
Members  Example  See Also  Send Feedback
Intersoft.Client.UI.Navigation Namespace : ChildNavigationEventArgs Class






Provides data for the ChildNavigation event.

Object Model

ChildNavigationEventArgs Class

Syntax

Visual Basic (Declaration) 
Public NotInheritable Class ChildNavigationEventArgs 
   Inherits Intersoft.Client.Framework.ISRoutedEventArgs
Visual Basic (Usage)Copy Code
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 

Example

The following example shows how to invalidate the data context when the page of the child frame has changed.
C#Copy Code
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);
    }
    ...
}

Remarks

The ChildNavigationEventArgs class provides data for the OnChildNavigation method. Through this method handler, you can examine values about the navigation request.

Inheritance Hierarchy

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

Requirements

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

See Also

© 2012 All Rights Reserved.