SetUIPanelAttribute

Setting one or more attributes for the specified UI Panel. This appears to be intended to replace (as a wrapper for) frame:SetAttribute("UIPanelLayout-"..name, value)

SetUIPanelAttribute(frame, name, value)

Arguments

 * frame : String - Name of the frame you wish to set an attribute for
 * name : String - Name of the attribute you wish to set
 * value : String, Number or Boolean - The value you wish to set for the attribute.

Returns
No returns

Example
SetUIPanelAttribute(WorldMapFrame, "area", "full")

Result

This is from Blizz's UI code. It sets the WorldMapFrame to take up the entire viewing area.

ru:Справка:Статьи о функциях API/Предварительная загрузка