NoesisGUI

BaseCommand Class

Base class for commands. Commands allows you to define actions in one place and then refer to them from all your user interface controls like menu items, toolbar or buttons. Examples of commands are the Copy, Cut, and Paste operations found on many applications. Applications often expose these actions through many mechanisms simultaneously: MenuItems in a Menu, MenuItems on a ContextMenu, Buttons on a ToolBar, keyboard shortcuts and so on.

Inheritance Hierarchy

BaseCommand

INDEX Class Hierarchy Index

Methods

From BaseCommand

Name Description
CanExecute Determines whether the command can execute in its current state
CanExecuteChanged Occurs when changes occur that affect whether or not the command should execute
Execute This method is called when command is invoked

Properties

From BaseCommand


Name Description
RO Name Gets the name of the command as it is registered in the CommandManager
RO OwnerType Gets the class type of the object that defines the command
DP_ Dependency Property - RO_ Read only

Events

BaseCommand has no events

© 2017 Noesis Technologies