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. |
Return Value
Section titled “Return Value”The same element for chaining.
Sets: ToolBarItem.CommandData
See Also
Section titled “See Also”- class ToolBarItem
- class ToolBarItemMarkupExtensions
- namespace Aprillz.MewUI.Controls