event ParentChangeElement (Element as Element)
The element is expanded or collapsed.

TypeDescription
Element as Element An Element object whose parent is changed.
The ParentChangeElement event occurs when the element's parent is changed. Use the AllowInsertObject property to specify whether the user can change the element's parent at runtime by dragging the element over the other. The Parent property indicates the element's parent. The AllowInsertChild property of the Element object specifies whether the element supports adding child elements at runtime. The AllowChangeParent property of the Element object specifies whether the element can change its parent at runtime.

Syntax for ParentChangeElement event, /NET version, on:

private void ParentChangeElement(object sender,exontrol.EXSURFACELib.Element Element)
{
}

Private Sub ParentChangeElement(ByVal sender As System.Object,ByVal Element As exontrol.EXSURFACELib.Element) Handles ParentChangeElement
End Sub

Syntax for ParentChangeElement event, /COM version, on:

private void ParentChangeElement(object sender, AxEXSURFACELib._ISurfaceEvents_ParentChangeElementEvent e)
{
}

void OnParentChangeElement(LPDISPATCH Element)
{
}

void __fastcall ParentChangeElement(TObject *Sender,Exsurfacelib_tlb::IElement *Element)
{
}

procedure ParentChangeElement(ASender: TObject; Element : IElement);
begin
end;

procedure ParentChangeElement(sender: System.Object; e: AxEXSURFACELib._ISurfaceEvents_ParentChangeElementEvent);
begin
end;

begin event ParentChangeElement(oleobject Element)
end event ParentChangeElement

Private Sub ParentChangeElement(ByVal sender As System.Object, ByVal e As AxEXSURFACELib._ISurfaceEvents_ParentChangeElementEvent) Handles ParentChangeElement
End Sub

Private Sub ParentChangeElement(ByVal Element As EXSURFACELibCtl.IElement)
End Sub

Private Sub ParentChangeElement(ByVal Element As Object)
End Sub

LPARAMETERS Element

PROCEDURE OnParentChangeElement(oSurface,Element)
RETURN

Syntax for ParentChangeElement event, /COM version (others), on:

<SCRIPT EVENT="ParentChangeElement(Element)" LANGUAGE="JScript">
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Function ParentChangeElement(Element)
End Function
</SCRIPT>

Procedure OnComParentChangeElement Variant llElement
	Forward Send OnComParentChangeElement llElement
End_Procedure

METHOD OCX_ParentChangeElement(Element) CLASS MainDialog
RETURN NIL

void onEvent_ParentChangeElement(COM _Element)
{
}

function ParentChangeElement as v (Element as OLE::Exontrol.Surface.1::IElement)
end function

function nativeObject_ParentChangeElement(Element)
return