1. 如何隐藏RibbonControl的最大化/最小化按钮
using System.Collections;
using System.Runtime.InteropServices;
ArrayList items = rcMain.RibbonStrip.GetItems("", typeof(SystemCaptionItem));
foreach (SystemCaptionItem sci in items)
{
if (!sci.IsSystemIcon)
{
sci.MinimizeVisible = false;
sci.RestoreMaximizeVisible = false;
break;
}
}