XLQP Gen1
ElementsNavigation & windows

AddBoxSection

Adds a bordered, collapsible section that groups related elements.

AddBoxSection

What it does

Adds a bordered, collapsible section that groups related elements.

When to use it

Use it to organize long pages into clearly labeled groups that users can expand only when needed.

ElementFunction:AddBoxSection(SectionConfig)

local BoxSection = LeftGroup:AddBoxSection({
    Name = "Box Section",
    Content = "Elements can be inside sections",
    DefaultOpen = true
})

Behavior and return value

Call this method on the compatible section, tab, panel, or element container shown by the signature. Store the returned value when you need to update, read, or destroy the element later.

Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.