This class can be used to collapse or expand a set of tree list nodes which satisfy a specific condition.
Public Member Functions |
|
ChangeExpandStateOperation (Predicate< TraversalNode > predicate, bool expand) | |
Constructor. |
|
override void | Execute (TreeListNode node) |
Execute the operation on a tree list node.
|
|
Properties |
|
DataFacade |
DataFacade [get, set] |
The datafacade, used for obtaining
TraversalNode from a TreeListNode. |
MaxCustomControls::CommandSystem::ChangeExpandStateOperation::ChangeExpandStateOperation | ( | Predicate< TraversalNode > | predicate, |
bool | expand | ||
) | [inline] |
Constructor.
predicate | The condition. The a node satisfy this condition, the node will be collapsed or expanded. |
expand | Expand or collapse the node? |
override void MaxCustomControls::CommandSystem::ChangeExpandStateOperation::Execute | ( | TreeListNode | node | ) | [inline] |
Execute the operation on a tree list node.
node | The given tree list node. |
DataFacade
MaxCustomControls::CommandSystem::ChangeExpandStateOperation::DataFacade
[get, set] |
The datafacade, used for obtaining TraversalNode from a TreeListNode.