TelerikRadTreeView¶
Telerik RadTreeView.
UI element class: Telerik.WinControls.UI.RadTreeView
Extends ManagedObject
Extends SeSSimulatedObject
Behavior Pattern: TelerikRadTreeViewBehavior
Property Summary¶
| Property | Description | Getter | Setter | 
|---|---|---|---|
| Checked | Checked state of the selected node or a node specified by the input parameters. | GetChecked | |
| ChildrenCount | Number of children of the selected node or a node specified by the input parameters. | GetChildrenCount | |
| Expanded | Expanded state of the selected node or a node specified by the input parameters. | GetExpanded | |
| IndexPath | Index path of the specified or selected tree node i.e. | GetIndexPath | |
| NodeText | Text of the selected node or a node specified by the input parameters. | GetNodeText | |
| Selected | Selected state of the selected node or a node specified by the input parameters | GetSelected | |
| State | Selected state of the selected node or a node specified by the input parameters. | GetState | |
| Text | ;-combined text of all selected nodes. | GetText | 
Action Summary¶
| Action | Description | 
|---|---|
| DoClickNode | Clicks specific node in the tree. | 
| DoCollapse | Collapses specific node in the tree. | 
| DoExpand | Expands specific node in the tree. | 
| DoSetCheck | Checks or unchecks specified element. | 
Property Detail¶
Checked¶
Checked state of the selected node or a node specified by the input parameters.
Getter Parameters:
| Name | Type | Description | 
|---|---|---|
| path | string | Path of the node | 
| separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". | 
| pathType | string | Path type. Can be one of 'name', 'id' or 'index'. Possible values: "name", "index", "id" Optional, Default: "name". | 
Type: boolean
Accessors: GetChecked
value = SeS('SomeTelerikRadTreeView').GetChecked(path, separator, pathType)
ChildrenCount¶
Number of children of the selected node or a node specified by the input parameters.
Getter Parameters:
| Name | Type | Description | 
|---|---|---|
| path | string | Path of the node | 
| separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". | 
| pathType | string | Path type. Can be one of 'name', 'id' or 'index'. Possible values: "name", "index", "id" Optional, Default: "name". | 
Type: string|boolean
Accessors: GetChildrenCount
value = SeS('SomeTelerikRadTreeView').GetChildrenCount(path, separator, pathType)
Expanded¶
Expanded state of the selected node or a node specified by the input parameters.
Getter Parameters:
| Name | Type | Description | 
|---|---|---|
| path | string | Path of the node | 
| separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". | 
| pathType | string | Path type. Can be one of 'name', 'id' or 'index'. Possible values: "name", "index", "id" Optional, Default: "name". | 
Type: boolean
Accessors: GetExpanded
value = SeS('SomeTelerikRadTreeView').GetExpanded(path, separator, pathType)
IndexPath¶
Index path of the specified or selected tree node i.e. string in form '0;5;2;1;6', 'false' if fails
Getter Parameters:
| Name | Type | Description | 
|---|---|---|
| path | string | Path of the node | 
| separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". | 
| pathType | string | Path type. Can be one of 'name', 'id' or 'index'. Possible values: "name", "index", "id" Optional, Default: "name". | 
Type: string|boolean
Accessors: GetIndexPath
value = SeS('SomeTelerikRadTreeView').GetIndexPath(path, separator, pathType)
NodeText¶
Text of the selected node or a node specified by the input parameters.
Getter Parameters:
| Name | Type | Description | 
|---|---|---|
| path | string | Path of the node | 
| separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". | 
| pathType | string | Path type. Can be one of 'name', 'id' or 'index'. Possible values: "name", "index", "id" Optional, Default: "name". | 
Type: string|boolean
Accessors: GetNodeText
value = SeS('SomeTelerikRadTreeView').GetNodeText(path, separator, pathType)
Selected¶
Selected state of the selected node or a node specified by the input parameters
Getter Parameters:
| Name | Type | Description | 
|---|---|---|
| path | string | Path of the node | 
| separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". | 
| pathType | string | Path type. Can be one of 'name', 'id' or 'index'. Possible values: "name", "index", "id" Optional, Default: "name". | 
Type: boolean
Accessors: GetSelected
value = SeS('SomeTelerikRadTreeView').GetSelected(path, separator, pathType)
State¶
Selected state of the selected node or a node specified by the input parameters.
Getter Parameters:
| Name | Type | Description | 
|---|---|---|
| path | String | Path of the node to select. | 
| separator | String | Separator used in the path. | 
| pathType | String | Path type. Can be one of 'name', 'index' or 'id'. | 
Type:
Accessors: GetState
value = SeS('SomeTelerikRadTreeView').GetState()
Text¶
;-combined text of all selected nodes.
Type: string
Accessors: GetText
value = SeS('SomeTelerikRadTreeView').GetText()
Action Detail¶
DoClickNode¶
Clicks specific node in the tree.
SeS('SomeTelerikRadTreeView').DoClickNode(path, separator, pathType, xOffset, yOffset)
Parameters:
| Name | Type | Description | 
|---|---|---|
| path | string | Path of the node | 
| separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". | 
| pathType | string | Path type. Can be one of 'name', 'id' or 'index'. Possible values: "name", "index", "id" Optional, Default: "name". | 
| xOffset | number | X offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the width. Optional. | 
| yOffset | number | Y offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the height. Optional. | 
Returns:
boolean: 'true' if success, 'false' otherwise.
DoCollapse¶
Collapses specific node in the tree.
SeS('SomeTelerikRadTreeView').DoCollapse(path, separator, pathType)
Parameters:
| Name | Type | Description | 
|---|---|---|
| path | string | Path of the node | 
| separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". | 
| pathType | string | Path type. Can be one of 'name', 'id' or 'index'. Possible values: "name", "index", "id" Optional, Default: "name". | 
Returns:
boolean: 'true' if success, 'false' otherwise.
DoExpand¶
Expands specific node in the tree.
SeS('SomeTelerikRadTreeView').DoExpand(path, separator, pathType)
Parameters:
| Name | Type | Description | 
|---|---|---|
| path | string | Path of the node | 
| separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". | 
| pathType | string | Path type. Can be one of 'name', 'id' or 'index'. Possible values: "name", "index", "id" Optional, Default: "name". | 
Returns:
boolean: 'true' if success, 'false' otherwise.
DoSetCheck¶
Checks or unchecks specified element.
SeS('SomeTelerikRadTreeView').DoSetCheck(bcheck, path, separator, pathType)
Parameters:
| Name | Type | Description | 
|---|---|---|
| bcheck | boolean | Desired check state. | 
| path | string | Path of the node | 
| separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". | 
| pathType | string | Path type. Can be one of 'name', 'id' or 'index'. Possible values: "name", "index", "id" Optional, Default: "name". | 
Returns:
boolean: 'true' if success, 'false' otherwise