TreeView
Properties
AutoScroll - Nullable
DataImageUrlField - String
DataSpriteCssClassField - String
DataUrlField - String
Messages - TreeViewMessagesSettings
The text message shown while the root level items are loading.
Size - Nullable
DataTextField - List
DataSource - DataSource
The number of available pages.
DataSourceId - String
Animation - ExpandableAnimation
UrlGenerator - IUrlGenerator
Authorization - INavigationItemAuthorization
Items - IList
ItemAction - Action
Effects - Effects
Checkboxes - TreeViewCheckboxesSettings
ExpandAll - Boolean
SelectedIndex - Int32
HighlightPath - Boolean
SecurityTrimming - SecurityTrimming
DragAndDrop - TreeViewDragAndDropSettings
Disables (false) or enables (true) the click move click interaction as an alternative of dragging. The alternative is disabled by default.
AutoBind - Boolean
Template - String
TemplateId - String
TemplateHandler - String
LoadOnDemand - Boolean
Initializer - IJavaScriptInitializer
Events - IDictionary
Name - String
Id - String
ShouldSanitezeId - Boolean
ModelMetadata - ModelMetadata
HtmlAttributes - IDictionary
ScriptAttributes - IDictionary
ViewContext - ViewContext
ViewData - ViewDataDictionary
IsSelfInitialized - Boolean
IsInClientTemplate - Boolean
HasDeferredInitialization - Boolean
Selector - String
HasClientComponent - Boolean
Methods
WriteInitializationScript(System.IO.TextWriter)
Parameters
writer - System.IO.TextWriter
Serialize()
Render()
Renders the component.
VerifySettings()
ToHtmlString()
GetHtml(System.Boolean)
Parameters
includeScript - System.Boolean
GetInitializator()
WriteDeferredStyles(System.IO.TextWriter)
Writes the deferred styes.
Parameters
writer - System.IO.TextWriter
The writer.