Click or drag to resize
CommandService Methods

The CommandService type exposes the following members.

Methods
  NameDescription
Public methodCanExecuteDefaultCommand
Determines whether the default command, associated with the specified Id can be executed given the parameter provided.
Public methodExecuteCommand
Attempts to find the command, associated with the specified Id and to perform its Execute routine, using the provided parameter.
Public methodExecuteDefaultCommand
Executes the default (built-in) command (without looking for user-defined commands), associated with the specified Id.
Protected methodOnAttached
Performs the core logic behind the Attach routine. Allows inheritors to provide additional implementation.
(Inherited from AttachableObjectT.)
Protected methodOnDetached
Performs the core logic behind the Detach routine. Allows inheritors to provide additional implementation.
(Inherited from AttachableObjectT.)
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Top
See Also