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

TypeDescription
Element as Element An Element being expanded or collapsed.
The ExpandElement event is fired when an element is expanded or collapsed. The element displays the expanding/collapsing glyph if the element contains child elements or there are links that starts from the element ( outgoing links, while the ExpandLinkedElements property is True ). The Expanded property specifies whether the element is expanded or collapsed. The Children property returns the list of child element of giving element. The OutgoingLinks property indicates the list of links that starts from specified element.

Syntax for ExpandElement event, /NET version, on:

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

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

Syntax for ExpandElement event, /COM version, on:

private void ExpandElement(object sender, AxEXSURFACELib._ISurfaceEvents_ExpandElementEvent e)
{
}

void OnExpandElement(LPDISPATCH Element)
{
}

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

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

procedure ExpandElement(sender: System.Object; e: AxEXSURFACELib._ISurfaceEvents_ExpandElementEvent);
begin
end;

begin event ExpandElement(oleobject Element)
end event ExpandElement

Private Sub ExpandElement(ByVal sender As System.Object, ByVal e As AxEXSURFACELib._ISurfaceEvents_ExpandElementEvent) Handles ExpandElement
End Sub

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

Private Sub ExpandElement(ByVal Element As Object)
End Sub

LPARAMETERS Element

PROCEDURE OnExpandElement(oSurface,Element)
RETURN

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

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

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

Procedure OnComExpandElement Variant llElement
	Forward Send OnComExpandElement llElement
End_Procedure

METHOD OCX_ExpandElement(Element) CLASS MainDialog
RETURN NIL

void onEvent_ExpandElement(COM _Element)
{
}

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

function nativeObject_ExpandElement(Element)
return