Garry's Mod Wiki

DCollapsibleCategory:SetExpanded

  DCollapsibleCategory:SetExpanded( boolean expanded = true )

Description

Sets whether the DCollapsibleCategory is expanded or not upon opening the container.

You should use DCollapsibleCategory:Toggle or DCollapsibleCategory:DoExpansion instead.

Arguments

1 boolean expanded = true
Whether it shall be expanded or not by default