Interface ICommandSet
The master list of viewer commands
Namespace: OSGeo.MapGuide.ObjectModels.WebLayout
Assembly: OSGeo.MapGuide.ObjectModels.dll
Syntax
public interface ICommandSet
Properties
| Improve this Doc View SourceCommandCount
Gets the command count.
Declaration
int CommandCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The command count. |
Commands
Gets the commands.
Declaration
IEnumerable<ICommand> Commands { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ICommand> | The commands. |
Methods
| Improve this Doc View SourceAddCommand(ICommand)
Adds the command.
Declaration
void AddCommand(ICommand cmd)
Parameters
Type | Name | Description |
---|---|---|
ICommand | cmd | The CMD. |
Clear()
Clears this instance.
Declaration
void Clear()
RemoveCommand(ICommand)
Removes the command.
Declaration
void RemoveCommand(ICommand cmd)
Parameters
Type | Name | Description |
---|---|---|
ICommand | cmd | The CMD. |
Events
| Improve this Doc View SourceCustomCommandAdded
Occurs when [custom command added].
Declaration
event CommandEventHandler CustomCommandAdded
Event Type
Type | Description |
---|---|
CommandEventHandler |
CustomCommandRemoved
Occurs when [custom command removed].
Declaration
event CommandEventHandler CustomCommandRemoved
Event Type
Type | Description |
---|---|
CommandEventHandler |