아코디언 » Event

on_expand

Description

아이템이 펼쳐지거나 접혔을때 호출된다.

Parameters

Parameters Type Description
nItemIndex short 아이템 번호
nExpandType short 동작된 타입 (0:접힘,1:펼쳐짐,2:토글)

Return Value

Type Description
void 없음

Remark

*expandall API를 호출하여 2개 이상의 아이템의 상태가 변경된 경우에는 마지막 아이템이 접히거나 펼쳐졌을 경우 호출된다.

*expandall API를 호출한 경우 nItemIndex값은 항상 -1값으로 전달된다.

*expandall API의 펼침 옵션값을 2:토글로 호출한 경우 nExpandType값은 2로 전달된다.

Example

//

Viewer Ver.

9.1.1.1

Update Date

20210610