ContextMenuOpeningEventHandler ContextMenuOpeningEventHandler ContextMenuOpeningEventHandler ContextMenuOpeningEventHandler Delegate

Definition

Represents the method that will handle the ContextMenuOpening event that exists on several text-related UI elements.

public : delegate void ContextMenuOpeningEventHandler(Platform::Object sender, ContextMenuEventArgs e)
struct ContextMenuOpeningEventHandler : winrt::Windows::Foundation::IUnknown
{
   ContextMenuOpeningEventHandler(std::nulptr_t = nullptr) noexcept {}
   template <typename L> ContextMenuOpeningEventHandler(L lambda);
   template <typename F> ContextMenuOpeningEventHandler(F* function);
   template <typename O, typename M> ContextMenuOpeningEventHandler(O* object, M method);
   void operator()(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& sender) const;
};
public delegate void ContextMenuOpeningEventHandler(Object sender, ContextMenuEventArgs e)
Public Delegate ContextMenuOpeningEventHandler(sender As Object, e As ContextMenuEventArgs)
Parameters
sender
Object Object

The object where the event handler is attached.

e
ContextMenuEventArgs ContextMenuEventArgs

Event data for the event.

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

See Also