ItemsView<TVisual>.UnhookContent(TVisual) Method

Definition

Application developers override this method to unregister event handlers for items that they registered in SetupContent(TVisual, Int32).

protected virtual void UnhookContent (TVisual content);
abstract member UnhookContent : 'Visual -> unit
override this.UnhookContent : 'Visual -> unit

Parameters

content
TVisual

The content to unhook.

Implements

Remarks

Application developers must call UnhookContent(TVisual) before performing any other action when overriding this method.

Application developers who override SetupContent(TVisual, Int32) to allocate resources must override this method in order to deallocate them.

Applies to