Version

CommandSource Class Members

The following tables list the members exposed by CommandSource.

Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)ParameterPropertyIdentifies the Parameter dependency property.  
Public Properties
 NameDescription
Public PropertyAllowEventHandlingGets/Sets if the Event for the attached command, should be Handled.  
Public PropertyCommandGets the System.Windows.Input.ICommand that this CommandSource represents.  
Public PropertyDependencyObjectTypeGets the System.Windows.DependencyObjectType that wraps the CLR type of this instance. (Inherited from System.Windows.DependencyObject)
Public PropertyDispatcherGets the System.Windows.Threading.Dispatcher this System.Windows.Threading.DispatcherObject is associated with. (Inherited from System.Windows.Threading.DispatcherObject)
Public PropertyEventNameGets/Sets the name of an event that should trigger a command.  
Public PropertyHandledThis should only be used by the System.Windows.Input.ICommand to handle the Event that triggered the command, so that it stops bubbling.  
Public PropertyIsSealedGets a value that indicates whether this instance is currently sealed (read-only). (Inherited from System.Windows.DependencyObject)
Public PropertyOriginEventArgsGets the event argument that started the event  
Public PropertyParameterIf the Command that this CommandSource is supposed to trigger, requries additional information. The information can be passed through this property.  
Public PropertyParameterBindingGets/Sets the Binding that will determine the parameter for this CommandSource  
Public PropertyParameterBindingDataContextReturns or sets a value indicating what should be used as the DataContext when applying the ParameterBinding  
Public PropertyParameterResolvedGets the actual parameter that was set. If a ParameterBinding was setting, it will return the binding value. If it wasn't set, it will return the value in the Parameter property.  
Public PropertySourceElementGets the System.Windows.FrameworkElement that this command represents.  
Public PropertyTargetThis is the Infragistics.ICommandTarget object that command should be triggered on.  
Public PropertyTargetNameIf no target is resolved, then the Command will look for Globally registered targets. If this property is set, it will look for an ICommandTarget that is a FrameworkElement and has the specified name.  
Protected Properties
 NameDescription
Protected Internal PropertyEventHandlerGets/Sets the EventHandler that was created based off of the EventName property.  
Public Methods
 NameDescription
Public MethodClearValueOverloaded. Clears the local value of a property. The property to be cleared is specified by a System.Windows.DependencyProperty identifier. (Inherited from System.Windows.DependencyObject)
Public MethodCoerceValueCoerces the value of the specified dependency property. This is accomplished by invoking any System.Windows.CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
Public MethodEquals (Inherited from System.Windows.DependencyObject)
Public MethodGetHashCodeGets a hash code for this System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
Public MethodGetLocalValueEnumeratorCreates a specialized enumerator for determining which dependency properties have locally set values on this System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
Public MethodGetValueReturns the current effective value of a dependency property on this instance of a System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
Public MethodInvalidateProperty (Inherited from System.Windows.DependencyObject)
Public MethodReadLocalValueReturns the local value of a dependency property, if it exists. (Inherited from System.Windows.DependencyObject)
Public MethodSetCurrentValue (Inherited from System.Windows.DependencyObject)
Public MethodSetValueOverloaded. Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from System.Windows.DependencyObject)
Protected Methods
 NameDescription
Protected MethodExecuteInvokes the System.Windows.Input.ICommand that is attached to this CommandSource  
Protected Internal MethodInvokeCommandInvokes the System.Windows.Input.ICommand attached to the CommandSource  
Protected MethodOnPropertyChangedOverloaded. Used to raise the PropertyChanged event for the specified property name. (Inherited from Infragistics.DependencyObjectNotifier)
Protected MethodRaisePropertyChangedEventRaises the PropertyChanged event (Inherited from Infragistics.DependencyObjectNotifier)
Protected MethodResolveCommandResolves the System.Windows.Input.ICommand that this CommandSource represents.  
Protected MethodResolveParameterThis method resolves the parameter that should be passed to the System.Windows.Input.ICommand. It will use the specified parameter and check with the specified Infragistics.ICommandTarget to see what parameter should be used.  
Protected Internal MethodShouldSerializePropertyReturns a value that indicates whether serialization processes should serialize the value for the provided dependency property. (Inherited from System.Windows.DependencyObject)
Public Events
 NameDescription
Public EventPropertyChangedRaised when a property has changed (Inherited from Infragistics.DependencyObjectNotifier)
See Also