SiteMapDataSource.ShowStartingNode Property

Definition

Gets or sets a value indicating whether the starting node is retrieved and displayed.

public:
 virtual property bool ShowStartingNode { bool get(); void set(bool value); };
public virtual bool ShowStartingNode { get; set; }
member this.ShowStartingNode : bool with get, set
Public Overridable Property ShowStartingNode As Boolean

Property Value

true if the starting node is displayed; otherwise, false. The default is true.

Remarks

The ShowStartingNode property is evaluated during calls to the GetView and GetHierarchicalView methods, when the node tree that is returned by these methods is populated.

The value of the ShowStartingNode property is stored in view state.

Applies to

See also