NavigationPolicies Enumeration

Contains values that indicate navigation mode.

Member Name Description
Column Creates a group that has single-column vertical arrangement. Navigations up or down compare Y positions. Navigations left and right exit the group.
ContainAll Shorthand for both ContainDirectional and ContainTabOrder. No navigations of any kind will leave this container.
ContainDirectional Shorthand for both ContainVertical and ContainHorizontal. Directional navigations will not leave this container.
ContainHorizontal Creates a group that contains navigations horizontally. Navigations to the left or right will not leave this container.
ContainTabOrder Creates a group that contains tab order. Navigations previous or next will not leave this container.
ContainVertical Creates a group that contains navigations vertically. Navigations upward or downward will not leave this container.
FlowHorizontal Provides a hint to the navigation system that this item is flowed out into rows. When navigating within this item, the navigation system will automatically group the child items into horizontal strips.

Note   FlowHorizontal assumes all items within a single row are of a uniform height.

FlowVertical Provides a hint to the navigation system that this item is flowed out into columns. When navigating within this item, the navigation system will automatically group the child items into vertical strips. 

Note   It assumes all items within a single column are of a uniform width.

Group Overrides the default navigation behavior by defining this container as a logical group of items. Where possible, focus navigations prefer items in the same group over items in different groups.
None Default. The navigation system decides how to group items.
PreferFocusOrder Creates a group that will always use focus order rather than spatial location to determine who should receive focus when entering the group. Navigations into the group will prefer the child with the lowest focus order unless the container is also a RememberFocus container and has a saved focus.
RememberFocus Creates a group that remembers its most recent focus. Future navigations returning focus to the group will automatically restore the prior focus.
Row Creates a group that has single-row horizontal arrangement. Navigations left or right will compare X positions. Navigations up and down will exit the group.
TabGroup Creates a group that functions as a logical tabstop. Tab order navigations from within this group will immediately leave for another tabstop.
WrapAll Shorthand for both WrapDirectional and WrapTabOrder. Any navigation that would leave this container will wrap to the other end of the container.
WrapDirectional Shorthand for both WrapVertical and WrapHorizontal. Directional navigations that would leave this container will wrap to the other end of the container.
WrapHorizontal Creates a group that wraps horizontally. Navigations left or right that would leave this container will instead wrap to the other end of the container.
WrapTabOrder Creates a group that wraps in tab order. Navigations previous or next that would leave this container will instead wrap to the other end of the container.
WrapVertical Creates a group that wraps vertically. Navigations up or down that would leave this container will instead wrap to the other end of the container.

Requirements

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also