Class EventPipe
Implements a pipe to push an event.
Namespace: Sartorius.SAF.Presentation.Pipes
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class EventPipe : Pipe
Fields
View SourceCommandParameterProperty
Defines the dependency property of the CommandParameter property.
Declaration
public static readonly DependencyProperty CommandParameterProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
CommandProperty
Defines the dependency property of the Command property.
Declaration
public static readonly DependencyProperty CommandProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
EventNameProperty
Defines the dependency property of the EventName property.
Declaration
public static readonly DependencyProperty EventNameProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
Properties
View SourceCommand
Gets or sts the command that is invoked when the event is raised.
Declaration
public ICommand Command { get; set; }
Property Value
| Type | Description |
|---|---|
| ICommand |
CommandParameter
Gets or sets the command parameter of the Command.
Declaration
public object CommandParameter { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
EventName
Gets or sets the name of the event that is invoked.
Declaration
public string EventName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceCreateInstanceCore()
When implemented in a derived class, creates a new instance of the Freezable derived class.
Declaration
protected override Freezable CreateInstanceCore()
Returns
| Type | Description |
|---|---|
| Freezable | The new instance. |
Overrides
View SourceOnAttached()
Called when the pipe is attached to the collection.
Declaration
protected override void OnAttached()