Name | Description | |
---|---|---|
TreeViewTagHelper Constructor |
The following tables list the members exposed by TreeViewTagHelper.
Name | Description | |
---|---|---|
TreeViewTagHelper Constructor |
Name | Description | |
---|---|---|
AllowDragging | Configurates C1.Web.Mvc.TreeView.AllowDragging. Sets a value that determines whether users can drag and drop nodes within the C1.Web.Mvc.TreeView control. | |
AutoCollapse | Configurates C1.Web.Mvc.TreeView.AutoCollapse. Sets a value that determines if sibling nodes should be collapsed when a node is expanded. | |
CheckedItemsChanged | Configurates the C1.Web.Mvc.TreeView.OnClientCheckedItemsChanged client event. Occurs when the checked items are changed. | |
CheckedMemberPath | Gets or sets the name of the property (or properties) to use as a source of images for the nodes. | |
CheckOnClick | Configurates C1.Web.Mvc.TreeView.CheckOnClick. Sets a value that determines whether to toggle checkboxes when the user clicks the node header. | |
ChildItemsPath | Gets or sets the name of the property (or properties) that contains the child items for each node. When it is not set, ['items'] will be used. | |
CollapseOnClick | Configurates C1.Web.Mvc.TreeView.CollapseOnClick. Sets a value that determines whether to collapse expanded nodes when the user clicks the node header. | |
CollapseWhenDisabled | Configurates C1.Web.Mvc.TreeView.CollapseWhenDisabled. Sets a value that determines whether nodes should be collapsed when they are disabled. | |
CssClass | Configurates C1.Web.Mvc.Control.CssClass. Sets the css class of the control. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>) | |
CssStyle | (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>) | |
DisplayMemberPath | Gets or sets the name of the property (or properties) to use as the visual representation of the nodes. When it is not set, ['header'] will be used. | |
DragEnd | Configurates the C1.Web.Mvc.TreeView.OnClientDragEnd client event. Occurs when the user finishes a drag/drop operation, either by dropping a node into a new location or by canceling the operation with the mouse or keyboard. | |
DragOver | Configurates the C1.Web.Mvc.TreeView.OnClientDragOver client event. Occurs while the user drags a node over other nodes on the C1.Web.Mvc.TreeView. | |
DragStart | Configurates the C1.Web.Mvc.TreeView.OnClientDragStart client event. Occurs when the user starts dragging a node. This event only occurs if the AllowDrag property is set to true. | |
Drop | Configurates the C1.Web.Mvc.TreeView.OnClientDrop client event. Occurs when the user drops a on the C1.Web.Mvc.TreeView. | |
ExpandOnClick | Configurates C1.Web.Mvc.TreeView.ExpandOnClick. Sets a value that determines whether to expand collapsed nodes when the user clicks the node header. | |
ExpandOnLoad | Configurates C1.Web.Mvc.TreeView.ExpandOnLoad. Sets a value that determines whether to toggle checkboxes when the user clicks the node header. | |
FormatItem | Configurates the C1.Web.Mvc.TreeView.OnClientFormatItem client event. Occurs when an element representing a node has been created. | |
GotFocus | Configurates the C1.Web.Mvc.Control.OnClientGotFocus client event. Occurs when the control gets the focus. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>) | |
Height | Configurates C1.Web.Mvc.Control.Height. Sets the height of the control. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>) | |
Id | Configurates C1.Web.Mvc.Component.Id. Sets the control id. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>) | |
ImageMemberPath | Gets or sets the name of the property (or properties) to use as a source of images for the nodes. | |
IsAnimated | Configurates C1.Web.Mvc.TreeView.IsAnimated. Sets a value that indicates whether to use animations when expanding or collapsing nodes. | |
IsCheckedChanged | Configurates the C1.Web.Mvc.TreeView.OnClientIsCheckedChanged client event. Occurs after the check status of a node is changed. | |
IsCheckedChanging | Configurates the C1.Web.Mvc.TreeView.OnClientIsCheckedChanging client event. Occurs before the check status of a node is changed. | |
IsCollapsedChanged | Configurates the C1.Web.Mvc.TreeView.OnClientIsCollapsedChanged client event. Occurs after a node is collapsed or expanded. | |
IsCollapsedChanging | Configurates the C1.Web.Mvc.TreeView.OnClientIsCollapsedChanging client event. Occurs before a node is collapsed or expanded. | |
IsContentHtml | Configurates C1.Web.Mvc.TreeView.IsContentHtml. Sets a value indicating whether items are bound to plain text or HTML. | |
IsDisabled | Configurates C1.Web.Mvc.Control.IsDisabled. Sets a value that determines whether the control is disabled. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>) | |
IsReadOnly | Configurates C1.Web.Mvc.TreeView.IsReadOnly. Sets a value that determines whether users can edit the text in the nodes. When it is set to false, users may edit the content of the tree nodes by typing directly into the nodes. The F2 key can also be used to enter edit mode with the whole node content selected. | |
IsTemplate | Configurates C1.Web.Mvc.Control.IsTemplate. Sets a boolean value which indicates whether transfer this control to template mode. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>) | |
ItemClicked | Configurates the C1.Web.Mvc.TreeView.OnClientItemClicked client event. Occurs when the user clicks an item or presses the Enter key and an item is selected. | |
ItemsSourceChanged | Configurates the C1.Web.Mvc.TreeView.OnClientItemsSourceChanged client event. Occurs when the value of the ItemsSource property changes. | |
LazyLoadActionUrl | Configurates C1.Web.Mvc.TreeView.LazyLoadActionUrl. Sets the url to get the lazy nodes in C1.Web.Mvc.TreeView. | |
LazyLoadFunction | Configurates C1.Web.Mvc.TreeView.LazyLoadFunction. Sets a client function that loads child nodes on demand. | |
LoadActionUrl | Configurates C1.Web.Mvc.TreeView.LoadActionUrl. Sets the url to get the items in C1.Web.Mvc.TreeView. | |
LoadedItems | Configurates the C1.Web.Mvc.TreeView.OnClientLoadedItems client event. Occurs after the tree items have been generated. | |
LoadingItems | Configurates the C1.Web.Mvc.TreeView.OnClientLoadingItems client event. Occurs before the tree items are generated. | |
LostFocus | Configurates the C1.Web.Mvc.Control.OnClientLostFocus client event. Occurs when the control loses the focus. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>) | |
NodeEditEnded | Configurates the C1.Web.Mvc.TreeView.OnClientNodeEditEnded client event. Occurs after a node has exited edit mode. | |
NodeEditEnding | Configurates the C1.Web.Mvc.TreeView.OnClientNodeEditEnding client event. Occurs before a node exits edit mode. | |
NodeEditStarted | Configurates the C1.Web.Mvc.TreeView.OnClientNodeEditStarted client event. Occurs after a node has entered edit mode. | |
NodeEditStarting | Configurates the C1.Web.Mvc.TreeView.OnClientNodeEditStarting client event. Occurs before a node enters edit mode. | |
Order | (Inherited from Microsoft.AspNetCore.Razor.TagHelpers.TagHelper) | |
Refreshed | Configurates the C1.Web.Mvc.Control.OnClientRefreshed client event. Occurs after the control has refreshed its contents. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>) | |
Refreshing | Configurates the C1.Web.Mvc.Control.OnClientRefreshing client event. Occurs when the control is about to refresh its contents. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>) | |
ReponseTextParsing | Configurates the C1.Web.Mvc.TreeView.OnClientReponseTextParsing client event. Occurs when parsing the response text. | |
RequestDataStringifying | Configurates the C1.Web.Mvc.TreeView.OnClientRequestDataStringifying client event. Occurs when serializing the request data. | |
SelectedItemChanged | Configurates the C1.Web.Mvc.TreeView.OnClientSelectedItemChanged client event. Occurs when the selected item is changes. | |
ShowCheckboxes | Configurates C1.Web.Mvc.TreeView.ShowCheckboxes. Sets a value that determines whether the C1.Web.Mvc.TreeView control should add checkboxes to nodes and manage their state. This property can be used only on trees without lazy-loaded nodes(LazyLoadFunction is not set and IsLazyLoading is false). | |
Source | Configurates C1.Web.Mvc.TreeView.Source. Sets the array that contains the items in C1.Web.Mvc.TreeView. Arrays usually have a hierarchical structure with items that contain child items. There is no fixed limit to the depth of the items. | |
TabOrder | Configurates C1.Web.Mvc.Control.TabOrder. Sets a value of the tabindex attribute associated with the control. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>) | |
TemplateBindings | Configurates C1.Web.Mvc.Control.TemplateBindings. Sets the collection of the template bindings. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>) | |
ViewContext | (Inherited from C1.Web.Mvc.TagHelpers.BaseTagHelper<TControl>) | |
Width | Configurates C1.Web.Mvc.Control.Width. Sets the width of the control. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>) |
Name | Description | |
---|---|---|
CollectionName | Gets the collection name. (Inherited from C1.Web.Mvc.TagHelpers.BaseTagHelper<TControl>) | |
TObject | Gets or sets the corresponding object. (Inherited from C1.Web.Mvc.TagHelpers.BaseTagHelper<TControl>) |
Name | Description | |
---|---|---|
Init | (Inherited from Microsoft.AspNetCore.Razor.TagHelpers.TagHelper) | |
Process | Synchronously executes the Microsoft.AspNetCore.Razor.TagHelpers.TagHelper with the given context and output. (Inherited from C1.Web.Mvc.TagHelpers.ComponentTagHelper<TControl>) | |
ProcessAsync | (Inherited from Microsoft.AspNetCore.Razor.TagHelpers.TagHelper) |
Name | Description | |
---|---|---|
GetObjectInstance | Gets the TControl instance. (Inherited from C1.Web.Mvc.TagHelpers.ComponentTagHelper<TControl>) | |
ProcessAsTemplate | When the taghelper works as template, add the pre-processing here. (Inherited from C1.Web.Mvc.TagHelpers.BaseTagHelper<TControl>) | |
ProcessAttributes | Processes the attributes set in the taghelper. (Inherited from C1.Web.Mvc.TagHelpers.BaseTagHelper<TControl>) | |
ProcessChildContent | Processes the child content. (Inherited from C1.Web.Mvc.TagHelpers.BaseTagHelper<TControl>) | |
ProcessChildContentAsync | Processes the the children taghelpers. (Inherited from C1.Web.Mvc.TagHelpers.BaseTagHelper<TControl>) | |
Render | Render the startup scripts. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>) | |
UpdateMarkup | Update the markup's attributes according to the attributes set in the taghelper. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>) |