Gets or sets the callback which enables you to retrieve an instance of the command.

C# | Visual Basic | Visual C++ |
public Func<IElementOfCommand> Callback { get; set; }
Public Property Callback As Func(Of IElementOfCommand)
public: property Func<IElementOfCommand^>^ Callback { Func<IElementOfCommand^>^ get (); void set (Func<IElementOfCommand^>^ value); }

The callback must return an instance of the new command. If null, CommandType must be set. This property has priority over CommandType.