Свойство | Тип | Описание | |
---|---|---|---|
Nodes | List |
Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
FindPath ( SavedRouteItem route, SavedRouteGroup rootNode = null ) : List |
||
PopulateNode ( |
public AddNode ( |
||
treeView | ||
node | SavedRouteNode | |
rename | bool | Rename group/edit item |
Результат | int |
public DeleteNode ( |
||
treeView | ||
Результат | int |
public Find ( SavedRouteItem route ) : |
||
route | SavedRouteItem | |
Результат |
public GetRoutes ( SavedRouteNode node ) : List |
||
node | SavedRouteNode | |
Результат | List |
public GetSelectedNode ( |
||
treeView | ||
getParent | bool | |
selectedNode | ||
Результат | SavedRouteNode |
public MoveNode ( |
||
treeView | ||
source | ||
destination | ||
Результат | int |
public Populate ( |
||
treeView | ||
selectionPath | List |
|
Результат | void |