TreeView.TagKey Property

 

Gets the System.Web.UI.HtmlTextWriterTag value for the TreeView control.

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

protected override HtmlTextWriterTag TagKey { get; }

Property Value

Type: System.Web.UI.HtmlTextWriterTag

Always returns a Div value.

The TagKey property allows the output stream to write the appropriate HTML mark-up for the TreeView control.

Notes to Inheritors:

You can override the TagKey property to specify which HtmlTextWriterTag value to use for your derived control.

.NET Framework
Available since 2.0
Return to top
Show: