public override bool GetVisible(IPalette palette)
{
// Cannot be seen if not attached to an mdi child window and cannot be seen
// if the window is not maximized and so needing the pendant buttons
if ((MdiChild == null) || !CommonHelper.IsFormMaximized(MdiChild))
return false;
// Have all buttons been turned off?
if (!MdiChild.ControlBox)
return false;
return true;
}