ASP.NET Core MVC Controls | ComponentOne
C1.AspNetCore.Mvc Assembly / C1.Web.Mvc.TagHelpers Namespace / TreeViewTagHelper Class
Properties Methods


In This Topic
    TreeViewTagHelper Class Members
    In This Topic

    The following tables list the members exposed by TreeViewTagHelper.

    Public Constructors
     NameDescription
    Public Constructor  
    Top
    Public Properties
     NameDescription
    Public PropertyConfigurates C1.Web.Mvc.TreeView.AllowDragging. Sets a value that determines whether users can drag and drop nodes within the C1.Web.Mvc.TreeView control.  
    Public PropertyConfigurates C1.Web.Mvc.TreeView.AutoCollapse. Sets a value that determines if sibling nodes should be collapsed when a node is expanded.  
    Public PropertyConfigurates the C1.Web.Mvc.TreeView.OnClientCheckedItemsChanged client event. Occurs when the checked items are changed.  
    Public PropertyGets or sets the name of the property (or properties) to use as a source of images for the nodes.  
    Public PropertyConfigurates C1.Web.Mvc.TreeView.CheckOnClick. Sets a value that determines whether to toggle checkboxes when the user clicks the node header.  
    Public PropertyGets 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.  
    Public PropertyConfigurates C1.Web.Mvc.TreeView.CollapseOnClick. Sets a value that determines whether to collapse expanded nodes when the user clicks the node header.  
    Public PropertyConfigurates C1.Web.Mvc.TreeView.CollapseWhenDisabled. Sets a value that determines whether nodes should be collapsed when they are disabled.  
    Public PropertyConfigurates C1.Web.Mvc.Control.CssClass. Sets the css class of the control. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>)
    Public Property (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>)
    Public PropertyGets 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.  
    Public PropertyConfigurates 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.  
    Public PropertyConfigurates the C1.Web.Mvc.TreeView.OnClientDragOver client event. Occurs while the user drags a node over other nodes on the C1.Web.Mvc.TreeView.  
    Public PropertyConfigurates 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.  
    Public PropertyConfigurates the C1.Web.Mvc.TreeView.OnClientDrop client event. Occurs when the user drops a on the C1.Web.Mvc.TreeView.  
    Public PropertyConfigurates C1.Web.Mvc.TreeView.ExpandOnClick. Sets a value that determines whether to expand collapsed nodes when the user clicks the node header.  
    Public PropertyConfigurates C1.Web.Mvc.TreeView.ExpandOnLoad. Sets a value that determines whether to toggle checkboxes when the user clicks the node header.  
    Public PropertyConfigurates the C1.Web.Mvc.TreeView.OnClientFormatItem client event. Occurs when an element representing a node has been created.  
    Public PropertyConfigurates the C1.Web.Mvc.Control.OnClientGotFocus client event. Occurs when the control gets the focus. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>)
    Public PropertyConfigurates C1.Web.Mvc.Control.Height. Sets the height of the control. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>)
    Public PropertyConfigurates C1.Web.Mvc.Component.Id. Sets the control id. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>)
    Public PropertyGets or sets the name of the property (or properties) to use as a source of images for the nodes.  
    Public PropertyConfigurates C1.Web.Mvc.TreeView.IsAnimated. Sets a value that indicates whether to use animations when expanding or collapsing nodes.  
    Public PropertyConfigurates the C1.Web.Mvc.TreeView.OnClientIsCheckedChanged client event. Occurs after the check status of a node is changed.  
    Public PropertyConfigurates the C1.Web.Mvc.TreeView.OnClientIsCheckedChanging client event. Occurs before the check status of a node is changed.  
    Public PropertyConfigurates the C1.Web.Mvc.TreeView.OnClientIsCollapsedChanged client event. Occurs after a node is collapsed or expanded.  
    Public PropertyConfigurates the C1.Web.Mvc.TreeView.OnClientIsCollapsedChanging client event. Occurs before a node is collapsed or expanded.  
    Public PropertyConfigurates C1.Web.Mvc.TreeView.IsContentHtml. Sets a value indicating whether items are bound to plain text or HTML.  
    Public PropertyConfigurates C1.Web.Mvc.Control.IsDisabled. Sets a value that determines whether the control is disabled. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>)
    Public PropertyConfigurates 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.  
    Public PropertyConfigurates 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>)
    Public PropertyConfigurates 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.  
    Public PropertyConfigurates the C1.Web.Mvc.TreeView.OnClientItemsSourceChanged client event. Occurs when the value of the ItemsSource property changes.  
    Public PropertyConfigurates C1.Web.Mvc.TreeView.LazyLoadActionUrl. Sets the url to get the lazy nodes in C1.Web.Mvc.TreeView.  
    Public PropertyConfigurates C1.Web.Mvc.TreeView.LazyLoadFunction. Sets a client function that loads child nodes on demand.  
    Public PropertyConfigurates C1.Web.Mvc.TreeView.LoadActionUrl. Sets the url to get the items in C1.Web.Mvc.TreeView.  
    Public PropertyConfigurates the C1.Web.Mvc.TreeView.OnClientLoadedItems client event. Occurs after the tree items have been generated.  
    Public PropertyConfigurates the C1.Web.Mvc.TreeView.OnClientLoadingItems client event. Occurs before the tree items are generated.  
    Public PropertyConfigurates the C1.Web.Mvc.Control.OnClientLostFocus client event. Occurs when the control loses the focus. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>)
    Public PropertyConfigurates the C1.Web.Mvc.TreeView.OnClientNodeEditEnded client event. Occurs after a node has exited edit mode.  
    Public PropertyConfigurates the C1.Web.Mvc.TreeView.OnClientNodeEditEnding client event. Occurs before a node exits edit mode.  
    Public PropertyConfigurates the C1.Web.Mvc.TreeView.OnClientNodeEditStarted client event. Occurs after a node has entered edit mode.  
    Public PropertyConfigurates the C1.Web.Mvc.TreeView.OnClientNodeEditStarting client event. Occurs before a node enters edit mode.  
    Public Property (Inherited from Microsoft.AspNetCore.Razor.TagHelpers.TagHelper)
    Public PropertyConfigurates the C1.Web.Mvc.Control.OnClientRefreshed client event. Occurs after the control has refreshed its contents. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>)
    Public PropertyConfigurates 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>)
    Public PropertyConfigurates the C1.Web.Mvc.TreeView.OnClientReponseTextParsing client event. Occurs when parsing the response text.  
    Public PropertyConfigurates the C1.Web.Mvc.TreeView.OnClientRequestDataStringifying client event. Occurs when serializing the request data.  
    Public PropertyConfigurates the C1.Web.Mvc.TreeView.OnClientSelectedItemChanged client event. Occurs when the selected item is changes.  
    Public PropertyConfigurates 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).  
    Public PropertyConfigurates 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.  
    Public PropertyConfigurates C1.Web.Mvc.Control.TabOrder. Sets a value of the tabindex attribute associated with the control. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>)
    Public PropertyConfigurates C1.Web.Mvc.Control.TemplateBindings. Sets the collection of the template bindings. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>)
    Public Property (Inherited from C1.Web.Mvc.TagHelpers.BaseTagHelper<TControl>)
    Public PropertyConfigurates C1.Web.Mvc.Control.Width. Sets the width of the control. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>)
    Top
    Protected Properties
     NameDescription
    Protected PropertyGets the collection name. (Inherited from C1.Web.Mvc.TagHelpers.BaseTagHelper<TControl>)
    Protected PropertyGets or sets the corresponding object. (Inherited from C1.Web.Mvc.TagHelpers.BaseTagHelper<TControl>)
    Top
    Public Methods
     NameDescription
    Public Method (Inherited from Microsoft.AspNetCore.Razor.TagHelpers.TagHelper)
    Public MethodSynchronously executes the Microsoft.AspNetCore.Razor.TagHelpers.TagHelper with the given context and output. (Inherited from C1.Web.Mvc.TagHelpers.ComponentTagHelper<TControl>)
    Public Method (Inherited from Microsoft.AspNetCore.Razor.TagHelpers.TagHelper)
    Top
    Protected Methods
     NameDescription
    Protected MethodGets the TControl instance. (Inherited from C1.Web.Mvc.TagHelpers.ComponentTagHelper<TControl>)
    Protected MethodWhen the taghelper works as template, add the pre-processing here. (Inherited from C1.Web.Mvc.TagHelpers.BaseTagHelper<TControl>)
    Protected MethodProcesses the attributes set in the taghelper. (Inherited from C1.Web.Mvc.TagHelpers.BaseTagHelper<TControl>)
    Protected MethodProcesses the child content. (Inherited from C1.Web.Mvc.TagHelpers.BaseTagHelper<TControl>)
    Protected MethodProcesses the the children taghelpers. (Inherited from C1.Web.Mvc.TagHelpers.BaseTagHelper<TControl>)
    Protected MethodRender the startup scripts. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>)
    Protected MethodUpdate the markup's attributes according to the attributes set in the taghelper. (Inherited from C1.Web.Mvc.TagHelpers.ControlTagHelper<TreeView>)
    Top
    See Also