Property | Type | Description | |
---|---|---|---|
Nodes | List |
Method | Description | |
---|---|---|
AddNode ( |
For rename = true, if node already exists and source is a group it renames it without changing its subnodes, and if it's an item it replaces it.
|
|
DeleteNode ( |
||
Find ( SavedRouteItem route ) : |
Find the first SavedRouteItem based on destination+prefix+gateway+interface and return a Tree View with the equivalent node selected, that can be passed to the other functions
|
|
GetRoutes ( SavedRouteNode node ) : List |
Recursively receives the routes from a node into a list
|
|
GetSelectedNode ( |
Get the SavedRouteNode based on Tree View selection
|
|
MoveNode ( |
||
Populate ( |
Populates TreeView nodes with saved routes nodes
|
Method | Description | |
---|---|---|
FindPath ( SavedRouteItem route, SavedRouteGroup rootNode = null ) : List |
||
PopulateNode ( |
public AddNode ( |
||
treeView | ||
node | SavedRouteNode | |
rename | bool | Rename group/edit item |
return | int |
public DeleteNode ( |
||
treeView | ||
return | int |
public Find ( SavedRouteItem route ) : |
||
route | SavedRouteItem | |
return |
public GetRoutes ( SavedRouteNode node ) : List |
||
node | SavedRouteNode | |
return | List |
public GetSelectedNode ( |
||
treeView | ||
getParent | bool | |
selectedNode | ||
return | SavedRouteNode |
public MoveNode ( |
||
treeView | ||
source | ||
destination | ||
return | int |
public Populate ( |
||
treeView | ||
selectionPath | List |
|
return | void |