Class TreeViewBaseItemBuilder
Specifies the TreeView items
Inheritance
System.Object
TreeViewBaseItemBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.EJ.dll
Syntax
public class TreeViewBaseItemBuilder
Constructors
TreeViewBaseItemBuilder(TreeViewBaseItem)
Specifies the Item in TreeView
Declaration
public TreeViewBaseItemBuilder(TreeViewBaseItem item)
Parameters
Methods
Checked(Boolean)
Specifies the Checked state of the TreeView control.
Declaration
public TreeViewBaseItemBuilder Checked(bool check)
Parameters
Type |
Name |
Description |
System.Boolean |
check |
|
Returns
Children(Action<TreeViewBaseItemAdder>)
Specifies the treeview child
Declaration
public TreeViewBaseItemBuilder Children(Action<TreeViewBaseItemAdder> child)
Parameters
Returns
ContentTemplate(Action<TreeViewBaseItem>)
Specifies the contentTemplate of the item
Declaration
public TreeViewBaseItemBuilder ContentTemplate(Action<TreeViewBaseItem> contentTemplate)
Parameters
Returns
ContentTemplate(Func<TreeViewBaseItem, Object>)
Declaration
public TreeViewBaseItemBuilder ContentTemplate(Func<TreeViewBaseItem, object> contentTemplate)
Parameters
Type |
Name |
Description |
System.Func<TreeViewBaseItem, System.Object> |
contentTemplate |
|
Returns
Expanded(Boolean)
Specifies the expanded state of the TreeView control.
Declaration
public TreeViewBaseItemBuilder Expanded(bool expanded)
Parameters
Type |
Name |
Description |
System.Boolean |
expanded |
|
Returns
HtmlAttributes(IDictionary<String, Object>)
Specifies the HtmlAttributes of the TreeView control.
Declaration
public TreeViewBaseItemBuilder HtmlAttributes(IDictionary<string, object> itemHtmlAttributes)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IDictionary<System.String, System.Object> |
itemHtmlAttributes |
|
Returns
Id(String)
specifies the Item Id in TreeView
Declaration
public TreeViewBaseItemBuilder Id(string itemId)
Parameters
Type |
Name |
Description |
System.String |
itemId |
|
Returns
LinkAttribute(IDictionary<String, Object>)
Specifies the LinkAttributes of the treeview control
Declaration
public TreeViewBaseItemBuilder LinkAttribute(IDictionary<string, object> itemLinkAttribute)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IDictionary<System.String, System.Object> |
itemLinkAttribute |
|
Returns
Selected(Boolean)
Specifies the selected Item in TreeView control
Declaration
public TreeViewBaseItemBuilder Selected(bool selected)
Parameters
Type |
Name |
Description |
System.Boolean |
selected |
|
Returns
Text(String)
Specifies the Itemtext of the TreeView control
Declaration
public TreeViewBaseItemBuilder Text(string itemText)
Parameters
Type |
Name |
Description |
System.String |
itemText |
|
Returns
Url(String)
Specifies the itemURL in TreeView control
Declaration
public TreeViewBaseItemBuilder Url(string itemUrl)
Parameters
Type |
Name |
Description |
System.String |
itemUrl |
|
Returns