Skip to main content

WEBfactory 2010

WFNavigationTarget

The WFNavigationTarget control is the frame in which the navigation pages (or SubPages) are displayed. The WFNavigationTarget control is the parent of one or more navigation pages.

A navigation page can be added only if the WFNavigationTarget control is placed on the page and selected. By default, the navigation page will have the same size as the WFNavigationTarget control.

If no navigation page is active in the WFNavigationTarget at run-time, the WFNavigationTarget control will be invisible.

Features

The the WFNavigationTarget control offers the following particular features:

Default page

The user is able to set up a default navigation page to be displayed at run time in the WFNavigationTarget control.

Content sizing

The WFNavigationTarget control can be set up to fit the content of a navigation page either Uniform, UniformToFill, Fill or None.

Scrolling

If the StretchContent option is set to none, the user can manually control the vertical and horizontal scroll bars. The scroll bars can be set to: Disabled, Auto, Hidden and Visible.

Design-time properties

The WFNavigationTarget control shares some of the following common design-time properties of the WEBfactory 2010 controls library:

It also exposes the following particular properties:

Appearance properties

In Microsoft Blend and Visual Studio, the following properties can be found under the WEBfactory 2010 - General category.

  • StretchContent - allows the user to set up the control to stretch the navigation page to fit the frame. The property can be set to one of the following stretch modes: Fill, Uniform, UniformToFill or None.

Configuration properties

In Microsoft Blend and Visual Studio, the following properties can be found under the WEBfactory 2010 - General category.

  • DefaultPage - the user is able to set up a default navigation page to be displayed at run time in the WFNavigationTarget control.

Layout properties

In Microsoft Blend and Visual Studio, the following properties can be found under the WEBfactory 2010 - Security category.

  • HorizontalScrollBarVisibility - allows the user to set the visibility of the horizontal scroll bars. The visibility options are: Disabled, Auto, Hidden or Visible.

  • VerticalScrollBarVisibility - allows the user to set the visibility of the vertical scroll bars. The visibility options are: Disabled, Auto, Hidden or Visible.