System.Web.UI.WebControls.SiteMapPath Members

The members of System.Web.UI.WebControls.SiteMapPath are listed below.

See Also: Inherited members from System.Web.UI.WebControls.CompositeControl

Public Constructors

Initializes a new instance of the System.Web.UI.WebControls.SiteMapPath class.

Public Properties

[read-only]
CurrentNodeStyleStyle.

Gets the style used for the display text for the current node.

CurrentNodeTemplateSystem.Web.UI.ITemplate.

Gets or sets a control template to use for the node of a site navigation path that represents the currently displayed page.

[read-only]
NodeStyleStyle.

Gets the style used for the display text for all nodes in the site navigation path.

NodeTemplateSystem.Web.UI.ITemplate.

Gets or sets a control template to use for all functional nodes of a site navigation path.

ParentLevelsDisplayedint.

Gets or sets the number of levels of parent nodes the control displays, relative to the currently displayed node.

PathDirectionPathDirection.

Gets or sets the order that the navigation path nodes are rendered in.

PathSeparatorstring.

Gets or sets the string that delimits System.Web.UI.WebControls.SiteMapPath nodes in the rendered navigation path.

[read-only]
PathSeparatorStyleStyle.

Gets the style used for the SiteMapPath.PathSeparator string.

PathSeparatorTemplateSystem.Web.UI.ITemplate.

Gets or sets a control template to use for the path delimiter of a site navigation path.

ProviderSystem.Web.SiteMapProvider.

Gets or sets a System.Web.SiteMapProvider that is associated with the Web server control.

RenderCurrentNodeAsLinkbool.

Indicates whether the site navigation node that represents the currently displayed page is rendered as a hyperlink.

[read-only]
RootNodeStyleStyle.

Gets the style for the root node display text.

RootNodeTemplateSystem.Web.UI.ITemplate.

Gets or sets a control template to use for the root node of a site navigation path.

ShowToolTipsbool.

Gets or sets a value indicating whether the System.Web.UI.WebControls.SiteMapPath control writes an additional hyperlink attribute for hyperlinked navigation nodes. Depending on client support, when a mouse hovers over a hyperlink that has the additional attribute set, a ToolTip is displayed.

SiteMapProviderstring.

Gets or sets the name of the System.Web.SiteMapProvider used to render the site navigation control.

SkipLinkTextstring.

Gets or sets a value that is used to render alternate text for screen readers to skip the control's content.

Public Methods

override
DataBind()

Binds a data source to the System.Web.UI.WebControls.SiteMapPath control and its child controls.

Protected Methods

override
CreateChildControls()

Clears the current child controls collection, and rebuilds it by calling the SiteMapPath.CreateControlHierarchy method.

CreateControlHierarchy()

Examines the site map structure provided by the SiteMapPath.SiteMapProvider and builds a child controls collection based on the styles and templates defined for the functional nodes.

InitializeItem(SiteMapNodeItem)

Populates a System.Web.UI.WebControls.SiteMapNodeItem, which is a Web server control that represents a System.Web.SiteMapNode, with a set of child controls based on the node's function and the specified templates and styles for the node.

override
LoadViewState(object)

Restores view-state information from a previous request that was saved with the SiteMapPath.SaveViewState method.

override
OnDataBinding(EventArgs)

Overrides the System.Web.UI.Control.OnDataBinding(EventArgs) method of the System.Web.UI.WebControls.CompositeControl class and raises the System.Web.UI.Control.DataBinding event.

OnItemCreated(SiteMapNodeItemEventArgs)

Raises the SiteMapPath.ItemCreated event of the System.Web.UI.WebControls.SiteMapPath control.

OnItemDataBound(SiteMapNodeItemEventArgs)

Raises the SiteMapPath.ItemDataBound event of the System.Web.UI.WebControls.SiteMapPath control.

override
Render(System.Web.UI.HtmlTextWriter)
Documentation for this section has not yet been entered.
override
RenderContents(System.Web.UI.HtmlTextWriter)

Renders the nodes in the System.Web.UI.WebControls.SiteMapPath control.

override
SaveViewState() : object

Saves changes to view state for the System.Web.UI.WebControls.SiteMapPath control.

override
TrackViewState()

Tracks changes to the System.Web.UI.WebControls.SiteMapPath control's view state.

Public Events