XUITreeIcon()

new XUITreeIcon()

Methods

AddGroup(strName)

添加组
Parameters:
Name Type Description
strName String 添加组
Properties:
Name Type Description
GroupName String "行星"

AddItem(nIndex, strImage, strItemName, nUserData)

添加项
Parameters:
Name Type Description
nIndex Number 组的索引
strImage ImageProp 添加icon
strItemName String 添加项
nUserData Number

RemoveAll()

删除全部节点
搜索
Parameters:
Name Type Description
strText String 搜索

SetLabelStyle(nSize, strColor)

设置组名样式
Parameters:
Name Type Description
nSize Number 字体大小
strColor String 颜色
Properties:
Name Type Description
LabelStyle Collection [16,"0xffffffff"]

SetMaskStyle(nSize, strColor)

设置组对象名样式
Parameters:
Name Type Description
nSize Number 字体大小
strColor String 颜色
Properties:
Name Type Description
MaskStyle Collection [16,"0xffffffff"]