GalaSoft.MvvmLight.Extras.WP7 Helper class for adding Bindings to non-FrameworkElements Constructor. Callback whenever the value of this binding has changed. Constructor The Binding which is to be evaluated The element to be used as the context on which to evaluate the binding. The current value of this binding. Delegate for when the binding listener has changed. Event args for when binding values change. Constructor Original event args. This can be used to bind any event on any FrameworkElement to an . Typically, this element is used in XAML to connect the attached element to a command located in a ViewModel. This trigger can only be attached to a FrameworkElement or a class deriving from FrameworkElement. This can be used to bind any event on any FrameworkElement to an . Typically, this element is used in XAML to connect the attached element to a command located in a ViewModel. This trigger can only be attached to a FrameworkElement or a class deriving from FrameworkElement. To access the EventArgs of the fired event, use a RelayCommand<EventArgs> and leave the CommandParameter and CommandParameterValue empty! Identifies the dependency property Identifies the dependency property Identifies the dependency property Initializes a new instance of the EventToCommand class. Called when this trigger is attached to a FrameworkElement. Called when this trigger is detached from its associated object. Provides a simple way to invoke this trigger programatically without any EventArgs. Executes the trigger. To access the EventArgs of the fired event, use a RelayCommand<EventArgs> and leave the CommandParameter and CommandParameterValue empty! The EventArgs of the fired event. Gets or sets the ICommand that this trigger is bound to. This is a DependencyProperty. Gets or sets an object that will be passed to the attached to this trigger. This is a DependencyProperty. Because of limitations of Silverlight, you can only set databindings on this property. If you wish to use hard coded values, use the property. Gets or sets an object that will be passed to the attached to this trigger. This is NOT a DependencyProperty. Use this property if you want to set a hard coded value. For databinding, use the property. Gets or sets a value indicating whether the attached element must be disabled when the property's CanExecuteChanged event fires. If this property is true, and the command's CanExecute method returns false, the element will be disabled. If this property is false, the element will not be disabled when the command's CanExecute method changes. If the attached element is not a , this property has no effect. This is a DependencyProperty. Because of limitations of Silverlight, you can only set databindings on this property. If you wish to use hard coded values, use the property. Gets or sets a value indicating whether the attached element must be disabled when the property's CanExecuteChanged event fires. If this property is true, and the command's CanExecute method returns false, the element will be disabled. If the attached element is not a , this property has no effect. This property is here for compatibility with the Silverlight version. This is NOT a DependencyProperty. Use this property if you want to set a hard coded value. For databinding, use the property. Gets or sets a value indicating whether the EventArgs passed to the event handler will be forwarded to the ICommand's Execute method when the event is fired (if the bound ICommand accepts an argument of type EventArgs). For example, use a RelayCommand<MouseEventArgs> to get the arguments of a MouseMove event. Helper class for dispatcher operations on the UI thread. Executes an action on the UI thread. If this method is called from the UI thread, the action is executed immendiately. If the method is called from another thread, the action will be enqueued on the UI thread's dispatcher and executed asynchronously. For additional operations on the UI thread, you can get a reference to the UI thread's dispatcher thanks to the property . The action that will be executed on the UI thread. This method should be called once on the UI thread to ensure that the property is initialized. In a Silverlight application, call this method in the Application_Startup event handler, after the MainPage is constructed. In WPF, call this method on the static App() constructor. Gets a reference to the UI thread's dispatcher, after the method has been called on the UI thread.