Share via


IXRVirtualizingStackPanel::RemoveCleanUpVirtualizedItemEventHandler (Compact 2013)

3/28/2014

This method removes an event handler from the CleanUpVirtualizedItem event, which occurs when an item is re-virtualized.

Syntax

virtual HRESULT STDMETHODCALLTYPE RemoveCleanUpVirtualizedItemEventHandler(
    __in IXRDelegate<XRCleanUpVirtualizedItemEventArgs>* pDelegate
) = 0;

Parameters

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

You use this method to remove an event handler from the CleanUpVirtualizedItem event that was added to it by using IXRVirtualizingStackPanel::AddCleanUpVirtualizedItemEventHandler.

.NET Framework Equivalent

System.Windows.Controls.VirtualizingStackPanel.CleanUpVirtualizedItemEvent

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRVirtualizingStackPanel