This class can be used to collapse or expand a set of tree list nodes which satisfy a specific condition.
Public Member Functions |
|
override void | Execute () |
When called, do the collpase/expand
operation on each node that satisfy our condition. |
|
Static Public Member Functions |
|
static Command | Create (Predicate< TraversalNode > predicate, bool expand, string name) |
Create a
ChangeExpandStateCommand instance. |
|
Properties |
|
override string |
Name [get] |
This Command's internationalized name.
|
static Command MaxCustomControls::CommandSystem::ChangeExpandStateCommand::Create | ( | Predicate< TraversalNode > | predicate, |
bool | expand, | ||
string | name | ||
) | [inline, static] |
Create a ChangeExpandStateCommand instance.
predicate | The condition. The a node satisfy this condition, the node will be collapsed or expanded. |
expand | Expand or collapse the node? |
name | The internationalized name of this command. |
override void MaxCustomControls::CommandSystem::ChangeExpandStateCommand::Execute | ( | ) | [inline] |
When called, do the collpase/expand operation on each node that satisfy our condition.
override string
MaxCustomControls::CommandSystem::ChangeExpandStateCommand::Name
[get] |
This Command's internationalized name.