콘텐츠로 이동

ToolBarItemMarkupExtensions.CommandData<T> method

이 콘텐츠는 아직 번역되지 않았습니다.

Sets CommandData. The value the entry hands its command as the invocation argument, or null to let the nearest argument source supply one. Entries that share a command and differ only in this value show their own Text and Icon.

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

The same element for chaining.

Sets: ToolBarItem.CommandData