ListViewItemToKeyHandler ListViewItemToKeyHandler ListViewItemToKeyHandler ListViewItemToKeyHandler Delegate

Definition

Represents the method that will handle callback for the GetRelativeScrollPosition method.

public : delegate Platform::String ListViewItemToKeyHandler(Platform::Object item)
struct ListViewItemToKeyHandler : winrt::Windows::Foundation::IUnknown
{
   ListViewItemToKeyHandler(std::nullptr_t = nullptr) noexcept;
   template <typename L> ListViewItemToKeyHandler(L lambda);
   template <typename F> ListViewItemToKeyHandler(F* function);
   template <typename O, typename M> ListViewItemToKeyHandler(O* object, M method);
   winrt::hstring operator()(winrt::Windows::Foundation::IInspectable const& item) const;
};
public delegate string ListViewItemToKeyHandler(Object item)
Public Delegate Function ListViewItemToKeyHandler(item As Object) As string

Parameters

item
Object Object

The ListView item.

Return Value

string

The key of the item.

Attributes

Windows 10 requirements

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

See also