Class EventBinding
Represents a binding between an event and a command. The command is potentially a System.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public class EventBinding : Freezable, ICommandSource
Constructors
EventBinding()
Declaration
public EventBinding()
Fields
CommandParameterProperty
Identifies the CommandParameter dependency property.
Declaration
public static readonly DependencyProperty CommandParameterProperty
Field Value
System.
|
CommandProperty
Identifies the Command dependency property.
Declaration
public static readonly DependencyProperty CommandProperty
Field Value
System.
|
CommandTargetProperty
Identifies the CommandTarget dependency property.
Declaration
public static readonly DependencyProperty CommandTargetProperty
Field Value
System.
|
EventNameProperty
Identifies the EventName dependency property.
Declaration
public static readonly DependencyProperty EventNameProperty
Field Value
System.
|
PassEventArgsToCommandProperty
Identifies the PassEventArgsToCommand property.
Declaration
public static readonly DependencyProperty PassEventArgsToCommandProperty
Field Value
System.
|
RaiseOnHandledEventsProperty
Identifies the RaiseOnHandledEvents dependency property.
Declaration
public static readonly DependencyProperty RaiseOnHandledEventsProperty
Field Value
System.
|
Properties
Command
Gets or sets the System.
Declaration
public ICommand Command { get; set; }
Property Value
System.
|
CommandParameter
Gets or sets the command-specific data for a particular command.
Declaration
public object CommandParameter { get; set; }
Property Value
System.
|
CommandTarget
Gets or sets the target element of the command.
Declaration
public IInputElement CommandTarget { get; set; }
Property Value
System.
|
EventName
Gets or sets the name of the event that will open the context menu.
Declaration
public string EventName { get; set; }
Property Value
System. The name of the event. |
PassEventArgsToCommand
Gets or sets the value indicating if the event arguments will be passed to the command. If you specify CommandParameter this value is ignored.
Declaration
public bool PassEventArgsToCommand { get; set; }
Property Value
System.
|
RaiseOnHandledEvents
Gets or sets whether Event
Declaration
public bool RaiseOnHandledEvents { get; set; }
Property Value
System.
|
Methods
CreateInstanceCore()
Creates an instance of an Event
Declaration
protected override Freezable CreateInstanceCore()
Returns
System. A new instance of an Event |