Skip to main content

ASPxClientNavBarGroup.GetExpanded Method

Returns a value specifying whether the group is expanded.

#Declaration

TypeScript
GetExpanded(): boolean

#Returns

Type Description
boolean

true if the group is expanded; otherwise, false.

#Remarks

Use the GetExpanded property to obtain the value indicating in which state a client navbar’s group is currently expanded or collapsed.

#Example

...
    <ClientSideEvents ExpandedChanged="function(s, e) {
        if(e.group.GetExpanded() == true){ 
            CollapseAllGroupsButOne(e.group.index);
        }
    }" />
...
See Also