public VisualPopupQATOverflow(KryptonRibbon ribbon,
ViewLayoutRibbonQATContents contents,
IRenderer renderer)
: base(renderer, true)
{
Debug.Assert(ribbon != null);
// Remember references needed later
_ribbon = ribbon;
// Create a view element for drawing the group
_viewQAT = new ViewDrawRibbonQATOverflow(ribbon, NeedPaintDelegate);
// Create and add the element used to synch and draw the actual contents
_viewQATContents = new ViewLayoutRibbonQATFromOverflow(this, ribbon,
NeedPaintDelegate,
true, contents);
_viewQAT.Add(_viewQATContents);
// Attach the root to the view manager instance
ViewManager = new ViewRibbonQATOverflowManager(ribbon, this, _viewQATContents, _viewQAT);
}