Share via


MultiPage<T>.UnhookContent(T) Method

Definition

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

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

Parameters

content
T

The content to unhook.

Implements

Remarks

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

<block type="note">Application developers who override SetupContent(T, Int32) to allocate resources must override this method in order to deallocate them.</block>

Applies to