Свойство | Type | Description | |
---|---|---|---|
Nodes | List |
Méthode | 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
|
Méthode | Description | |
---|---|---|
FindPath ( SavedRouteItem route, SavedRouteGroup rootNode = null ) : List |
||
PopulateNode ( |
public AddNode ( |
||
treeView | ||
node | SavedRouteNode | |
rename | bool | Rename group/edit item |
Résultat | int |
public DeleteNode ( |
||
treeView | ||
Résultat | int |
public Find ( SavedRouteItem route ) : |
||
route | SavedRouteItem | |
Résultat |
public GetRoutes ( SavedRouteNode node ) : List |
||
node | SavedRouteNode | |
Résultat | List |
public GetSelectedNode ( |
||
treeView | ||
getParent | bool | |
selectedNode | ||
Résultat | SavedRouteNode |
public MoveNode ( |
||
treeView | ||
source | ||
destination | ||
Résultat | int |
public Populate ( |
||
treeView | ||
selectionPath | List |
|
Résultat | void |