WindowVisibilityChangedEventHandler WindowVisibilityChangedEventHandler WindowVisibilityChangedEventHandler WindowVisibilityChangedEventHandler Delegate

Definition

Represents the method that will handle the VisibilityChanged event.

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

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)