VisualStateChangedEventHandler VisualStateChangedEventHandler VisualStateChangedEventHandler VisualStateChangedEventHandler Delegate

Definition

Represents the method that will handle the CurrentStateChanging and CurrentStateChanged events.

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

The object where the event handler is attached.

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