Interface
ICommandSource

Defines an object that knows how to invoke a command.

Definition

Namespace:Telerik.UI.Xaml.Controls

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public interface ICommandSource

Derived Classes: EventBindingGroupHeaderButtonInputBindingKeyBindingMouseBindingRadButtonRadDropDownButtonRadRadioButtonRadRibbonButtonRadSplitButtonRadToggleButton

Properties

Command

Gets the command that will be executed when the command source is invoked.

Declaration

cs-api-definition
ICommand Command { get; }

Property Value

ICommand

CommandParameter

Represents a user defined data value that can be passed to the command when it is executed.

Declaration

cs-api-definition
object CommandParameter { get; }

Property Value

object

CommandTarget

The object that the command is being executed on.

Declaration

cs-api-definition
UIElement CommandTarget { get; }

Property Value

UIElement