ICommandSource Interface

Represents source information about the command.
See the Remarks section of the ICommand interface for details and examples about commands.

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public interface ICommandSource

Properties

EventArgs Gets the EventArgs instance containing the event data.
Sender Gets the sender of the underlying event. For instance events, this is usually the same as Source, but it can be different in some cases, for example when the add/remove accessors of the event map the subscription to another object's event. For static events the sender is usually .
Source Gets the source of the invocation. For instance events, this is the object that owns the event. For static events, this is the declaring type of the event.
TriggeringEvent Gets the triggering event of the source object.

See Also