MaxCustomControls::CommandSystem::ToggleControlVisibleCommand Class Reference


Detailed Description

This command aims for toggling the display of the given control.

Inheritance diagram for MaxCustomControls::CommandSystem::ToggleControlVisibleCommand:
Inheritance graph
[legend]

List of all members.

Public Member Functions

override void  Execute ()
  Run this command.

Static Public Member Functions

static Command  Create (String name, Control control)
  Creates a new ToggleControlVisibleCommand.

Protected Member Functions

override bool  IsChecked ()
  Get the internal check state.

Properties

override string  Name [get]
  This Command's internationalized name.

Member Function Documentation

static Command MaxCustomControls::CommandSystem::ToggleControlVisibleCommand::Create ( String  name,
Control  control 
) [inline, static]

Creates a new ToggleControlVisibleCommand.

Parameters:
name The name of the command.
control The given control
Returns:
The resultant command.
override void MaxCustomControls::CommandSystem::ToggleControlVisibleCommand::Execute ( ) [inline]

Run this command.

override bool MaxCustomControls::CommandSystem::ToggleControlVisibleCommand::IsChecked ( ) [inline, protected, virtual]

Get the internal check state.

Returns:
Returns true if this control is visible, returns false otherwise.

Implements MaxCustomControls::CommandSystem::CheckableCommand.


Property Documentation

override string MaxCustomControls::CommandSystem::ToggleControlVisibleCommand::Name [get]

This Command's internationalized name.


MaxCustomControls::CommandSystem::ToggleControlVisibleCommand MaxCustomControls::CommandSystem::ToggleControlVisibleCommand MaxCustomControls::CommandSystem::ToggleControlVisibleCommand MaxCustomControls::CommandSystem::ToggleControlVisibleCommand MaxCustomControls::CommandSystem::ToggleControlVisibleCommand MaxCustomControls::CommandSystem::ToggleControlVisibleCommand MaxCustomControls::CommandSystem::ToggleControlVisibleCommand MaxCustomControls::CommandSystem::ToggleControlVisibleCommand MaxCustomControls::CommandSystem::ToggleControlVisibleCommand MaxCustomControls::CommandSystem::ToggleControlVisibleCommand
MaxCustomControls::CommandSystem::ToggleControlVisibleCommand MaxCustomControls::CommandSystem::ToggleControlVisibleCommand MaxCustomControls::CommandSystem::ToggleControlVisibleCommand MaxCustomControls::CommandSystem::ToggleControlVisibleCommand MaxCustomControls::CommandSystem::ToggleControlVisibleCommand MaxCustomControls::CommandSystem::ToggleControlVisibleCommand MaxCustomControls::CommandSystem::ToggleControlVisibleCommand MaxCustomControls::CommandSystem::ToggleControlVisibleCommand MaxCustomControls::CommandSystem::ToggleControlVisibleCommand MaxCustomControls::CommandSystem::ToggleControlVisibleCommand