event AfterExpand (SelFolder as ExShellFolder)
Fired after a folder has expanded.

TypeDescription
SelFolder as ExShellFolder A Folder object being expanded.
When user double clicks on a folder, or on a 'plus' button next to a folder, it expands. If it was already expanded, it collapses. When a folder expands, two events are fired. The BeforeExpand is fired before ExFolderView changes its structure, so additional functions can be executed. The AfterExpand event is fired after the structure has changed. Usually, expanding and collapsing folders will result in more or fewer folders visible after this event, so if some additional code is required it should be put inside this event body.

Syntax for AfterExpand event, /NET version, on:

private void AfterExpand(object sender,exontrol.EXFOLDERVIEWLib.ExShellFolder SelFolder)
{
}

Private Sub AfterExpand(ByVal sender As System.Object,ByVal SelFolder As exontrol.EXFOLDERVIEWLib.ExShellFolder) Handles AfterExpand
End Sub

Syntax for AfterExpand event, /COM version, on:

private void AfterExpand(object sender, AxEXFOLDERVIEWLib._IExFolderViewEvents_AfterExpandEvent e)
{
}

void OnAfterExpand(LPDISPATCH SelFolder)
{
}

void __fastcall AfterExpand(TObject *Sender,Exfolderviewlib_tlb::IExShellFolder *SelFolder)
{
}

procedure AfterExpand(ASender: TObject; SelFolder : IExShellFolder);
begin
end;

procedure AfterExpand(sender: System.Object; e: AxEXFOLDERVIEWLib._IExFolderViewEvents_AfterExpandEvent);
begin
end;

begin event AfterExpand(oleobject SelFolder)
end event AfterExpand

Private Sub AfterExpand(ByVal sender As System.Object, ByVal e As AxEXFOLDERVIEWLib._IExFolderViewEvents_AfterExpandEvent) Handles AfterExpand
End Sub

Private Sub AfterExpand(ByVal SelFolder As EXFOLDERVIEWLibCtl.IExShellFolder)
End Sub

Private Sub AfterExpand(ByVal SelFolder As Object)
End Sub

LPARAMETERS SelFolder

PROCEDURE OnAfterExpand(oExFolderView,SelFolder)
RETURN

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

<SCRIPT EVENT="AfterExpand(SelFolder)" LANGUAGE="JScript">
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Function AfterExpand(SelFolder)
End Function
</SCRIPT>

Procedure OnComAfterExpand Variant llSelFolder
	Forward Send OnComAfterExpand llSelFolder
End_Procedure

METHOD OCX_AfterExpand(SelFolder) CLASS MainDialog
RETURN NIL

void onEvent_AfterExpand(COM _SelFolder)
{
}

function AfterExpand as v (SelFolder as OLE::Exontrol.FolderView.1::IExShellFolder)
end function

function nativeObject_AfterExpand(SelFolder)
return