ScrollEventHandler ScrollEventHandler ScrollEventHandler ScrollEventHandler Delegate

Definition

Represents the method that will handle the Scroll event of a ScrollBar.

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

Parameters

sender
Object Object

The source of the event.

e
ScrollEventArgs ScrollEventArgs

A ScrollEventArgs that contains the event data.

Attributes

Windows 10 requirements

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