Interface
IElementTreeChangeListener

Defines methods for receiving notifications about changes in the element tree structure.

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public interface IElementTreeChangeListener

Methods

OnElementAdded(RadElement)

Called when a RadElement is added to the element tree.

Declaration

cs-api-definition
void OnElementAdded(RadElement addedElement)

Parameters

addedElement

RadElement

The RadElement that was added to the tree.

OnElementDisposed(RadElement, RadElement)

Called when a RadElement is disposed.

Declaration

cs-api-definition
void OnElementDisposed(RadElement formerParent, RadElement disposed)

Parameters

formerParent

RadElement

The former parent RadElement of the disposed element.

disposed

RadElement

The RadElement that was disposed.

OnElementRemoved(RadElement, RadElement)

Called when a RadElement is removed from the element tree.

Declaration

cs-api-definition
void OnElementRemoved(RadElement formerParent, RadElement removedElement)

Parameters

formerParent

RadElement

The parent RadElement from which the element was removed.

removedElement

RadElement

The RadElement that was removed from the tree.