ElementsNavigation & windows
AddDropdownPanel
Adds a titled panel that can open and close like a dropdown.
AddDropdownPanel
What it does
Adds a titled panel that can open and close like a dropdown.
When to use it
Use it to hide secondary controls while preserving a clear summary header.
ElementFunction:AddDropdownPanel(PanelConfig)
local Result = Section:AddDropdownPanel({
Name = "Example",
})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.