Intersoft ClientUI Documentation
FragmentNavigationDirection Enumeration
Example Example 



Specifies value that describes the direction of fragment navigation.
Syntax
[FlagsAttribute()]
public enum FragmentNavigationDirection : System.Enum 
[FlagsAttribute()]
public enum class FragmentNavigationDirection : public System.Enum 
<FlagsAttribute()>
Public Enum FragmentNavigationDirection 
   Inherits System.Enum
 
Dim instance As FragmentNavigationDirection
Members
MemberDescription
Child The navigation is targeting the child page.
CrossFragment The navigation is targeting the source that is sibling to the current source.
Parent The navigation is targeting the parent page.
Root The navigation is targeting the root page.
Unknown The fragment navigation is unknown.
Remarks
The FragmentNavigationDirection is a Flag enumeration and can contain more than one value that be use to specifies value that describes the direction of fragment navigation.
Example
The following sample shows the possible values of FragmentNavigationDirection which can be used to determine the direction of fragment navigation.
void ContentFrame_Navigating(object sender, NavigatingCancelEventArgs e)
{
    if ((e.FragmentNavigationDirection & FragmentNavigationDirection.Child) == FragmentNavigationDirection.Child)
    {
        if (e.UserNavigationDirection == NavigationDirection.New)
        {
            // do something
        }
    }
}
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Intersoft.Client.UI.Navigation.FragmentNavigationDirection

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

Intersoft.Client.UI.Navigation Namespace
Navigation Overview

Send Feedback