libraries/zo_parametricscrolllist/zo_parametricscrolllist.lua:153 -- dataTypeInfo.pool:SetCustomFactoryBehavior(function(control)
local headerControl = CreateControlFromVirtual(control:GetName().."Header", self.scrollControl, headerTemplateName)
--We create the control as a child of the scroll control, but the anchors are specified in relation to this control.
--We do this to have the header not inherit alpha from changing the control's alpha
for i = 0, 1 do
local isValid, point, relTo, relPoint, offsetX, offsetY = headerControl:GetAnchor(i)
if isValid then
headerControl:SetAnchor(point, control, relPoint, offsetX, offsetY)
end
end
control.headerControl = headerControl
end)