Represents the basic command implementation.
Inheritance Hierarchy
System.WindowsDependencyObject
FirstFloor.Documents.Controls.CommandsCommandBase
FirstFloor.Documents.Controls.CommandsGenericCommandT
FirstFloor.Documents.Controls.CommandsOpenFromDiskCommand
FirstFloor.Documents.Controls.CommandsSelectionCommand
Namespace: FirstFloor.Documents.Controls.Commands
Assembly: FirstFloor.Documents.Controls (in FirstFloor.Documents.Controls.dll) Version: 2.5.0.0 (2.5.11.0)
Syntax
The CommandBase type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | CommandBase | Initializes a new instance of the CommandBase class |
Properties
Name | Description | |
---|---|---|
![]() | Dispatcher | Gets the Dispatcher this object is associated with. (Inherited from DependencyObject.) |
Methods
Name | Description | |
---|---|---|
![]() | CanExecute |
Defines the method that determines whether the command can execute in its current state.
|
![]() | CheckAccess | Determines whether the calling thread has access to this object. (Inherited from DependencyObject.) |
![]() | ClearValue | Clears the local value of a dependency property. (Inherited from DependencyObject.) |
![]() | Equals | (Inherited from Object.) |
![]() | Execute |
Defines the method to be called when the command is invoked.
|
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetAnimationBaseValue | Returns any base value established for a Silverlight dependency property, which would apply in cases where an animation is not active. (Inherited from DependencyObject.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetValue | Returns the current effective value of a dependency property from a DependencyObject. (Inherited from DependencyObject.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnCanExecuteChanged |
Raises the CanExecuteChanged event.
|
![]() | OnExecute |
Implements the actual command execution.
|
![]() | ReadLocalValue | Returns the local value of a dependency property, if a local value is set. (Inherited from DependencyObject.) |
![]() | SetValue | Sets the local value of a dependency property on a DependencyObject. (Inherited from DependencyObject.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
![]() | CanExecuteChanged |
Occurs when changes occur that affect whether the command should execute.
|
Extension Methods
Name | Description | |
---|---|---|
![]() | AncestorsAndSelf |
Returns a collection of visual elements that contain specified object, and the ancestors of specified object.
(Defined by DependencyObjectExtensions.) |
![]() | Descendants |
Retrieves all visual descendants of a framework element.
(Defined by DependencyObjectExtensions.) |
![]() | Elements |
Retrieves the visual elements of a framework element.
(Defined by DependencyObjectExtensions.) |
See Also