New to Telerik UI for ASP.NET Core? Download free 30-day trial

TreeView

Properties

Items - IList

DataSource - DataSource

The number of available pages.

DataSourceId - String

ItemAction - Action

Authorization - INavigationItemAuthorization

SecurityTrimming - SecurityTrimming

SelectedIndex - Int32

HighlightPath - Boolean

ExpandAll - Boolean

Animation - ExpandableAnimation

AutoBind - Nullable

AutoScroll - Nullable

Checkboxes - TreeViewCheckboxesSettings

Indicates whether checkboxes of child items should get checked when the checkbox of a parent item is checked. This also enables tri-state checkboxes with an indeterminate state.

DataImageUrlField - String

DataSpriteCssClassField - String

DataTextField - String[]

DataUrlField - String

DragAndDrop - TreeViewDragAndDropSettings

Disables (false) or enables (true) the click move click interaction as an alternative of dragging. The alternative is disabled by default.

LoadOnDemand - Nullable

Messages - TreeViewMessagesSettings

The text message shown while the root level items are loading.

Template - String

TemplateId - String

TemplateHandler - String

Size - Nullable

Events - IDictionary

Id - String

SanitezeId - Boolean

Writer - IJavaScriptWriter

Initializer - IJavaScriptInitializer

IsInClientTemplate - Boolean

IsSelfInitialized - Boolean

HasDeferredInitialization - Boolean

HtmlAttributes - IDictionary

ScriptAttributes - IDictionary

HtmlHelper - IHtmlHelper

ModelMetadataProvider - IModelMetadataProvider

Name - String

Explorer - ModelExplorer

Selector - String

IdPrefix - String

ViewContext - ViewContext

ValueProvider - IValueProvider

UrlGenerator - IUrlGenerator

HtmlEncoder - HtmlEncoder

HasClientComponent - Boolean

UseMvvmInitialization - Boolean

Methods

WriteInitializationScript(System.IO.TextWriter)

Parameters

writer - System.IO.TextWriter

Serialize()

Serialize current instance to Dictionary

Render()

Renders the component.

ToClientTemplate()

ToHtmlString()

VerifySettings()

WriteDeferredStyles(System.IO.TextWriter)

Writes the deferred styes.

Parameters

writer - System.IO.TextWriter

The writer.

DeferStyles()

ProcessSettings()

GetHtml(System.Boolean)

Parameters

includeScript - System.Boolean

GetInitializator()

WriteDeferredScriptInitialization()

In this article
Not finding the help you need?