Export (0) Print
Expand All

INavigateUIData Interface

Provides an interface that classes implement to provide navigation user interface data and values to navigation controls.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public interface INavigateUIData

The INavigateUIData type exposes the following members.

  NameDescription
Public propertyDescriptionGets text that represents the description of a navigation node of a navigation control.
Public propertyNameGets the text that represents the name of a navigation node of a navigation control.
Public propertyNavigateUrlGets the URL to navigate to when the navigation node is clicked.
Public propertyValueGets a non-displayed value that is used to store any additional data about the navigation node.
Top

The INavigateUIData interface allows navigation controls, such as the TreeView and Menu controls, to automatically render data from a data source that represents hierarchical site navigation data. The INavigateUIData interface is implemented by the SiteMapNode type that is returned from the SiteMapDataSource control so that navigation controls can render data automatically without a page developer explicitly defining the data binding associations to the properties of SiteMapNode. For example, the SiteMapDataSource control enables declarative data binding so that a page developer does not have to populate the TreeView.DataBindings or Menu.DataBindings properties explicitly for the TreeView and Menu controls, respectively.

The INavigateUIData interface can also be implemented on objects that are returned by an ObjectDataSource control in order to enable automatic rendering of navigation control without explicit data binding.

.NET Framework

Supported in: 4.5.3, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft