SiteMapNode.Title Property

Gets or sets the title of the SiteMapNode object.

Namespace: System.Web
Assembly: System.Web (in system.web.dll)

[LocalizableAttribute(true)] 
public virtual string Title { get; set; }
/** @property */
public String get_Title ()

/** @property */
public void set_Title (String value)

public function get Title () : String

public function set Title (value : String)

Not applicable.

Property Value

A string that represents the title of the node. The default is String.Empty.

Exception typeCondition

InvalidOperationException

The node is read-only.

The Title property is used by navigation controls to render a label for the node, instead of using the Url property, while the Description property is used as a ToolTip element for mouse-over events.

A localized value of the Title property is returned if the EnableLocalization property is true.

TopicLocation
How to: Localize Site-Map DataBuilding ASP .NET Web Applications
How to: Localize Site-Map DataBuilding ASP .NET Web Applications

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: