RoutedEventHandler RoutedEventHandler RoutedEventHandler RoutedEventHandler Delegate

Definition

Represents the method that will handle routed events.

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

Parameters

sender
Object Object

The object where the event handler is attached.

e
RoutedEventArgs RoutedEventArgs

The event data.

Attributes

Windows 10 requirements

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