UICommandInvokedHandler UICommandInvokedHandler UICommandInvokedHandler UICommandInvokedHandler UICommandInvokedHandler Delegate

Definition

Represents a callback function that handles the event that is fired when the user invokes a context menu command.

public : delegate void UICommandInvokedHandler(IUICommand command)
struct UICommandInvokedHandler : winrt::Windows::Foundation::IUnknown
{
   UICommandInvokedHandler(std::nulptr_t = nullptr) noexcept {}
   template <typename L> UICommandInvokedHandler(L lambda);
   template <typename F> UICommandInvokedHandler(F* function);
   template <typename O, typename M> UICommandInvokedHandler(O* object, M method);
   void operator()(winrt::Windows::UI::Popups::UICommandInvokedHandler const& sender) const;
};
public delegate void UICommandInvokedHandler(IUICommand command)
Public Delegate UICommandInvokedHandler(command As IUICommand)
var uiCommandInvokedHandler = function(command) {

 /* Your code */

}
Parameters
command
IUICommand IUICommand IUICommand

Represents the invoked command.

Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

See Also