Skip to content

CommandSourceControlMarkupExtensions.CommandData<T> method

Sets CommandData. The value this control hands its command as the invocation argument. Null lets the nearest ICommandArgumentSource above the control supply the argument instead.

public static T CommandData<T>(this T target, object? value)
where T : CommandSourceControl
parameter description
T Receiver type.
target Target CommandSourceControl.
value Value assigned to CommandData.

The same element for chaining.

Sets: CommandSourceControl.CommandData