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;
                }
            }

相关文章:

  • 2021-09-23
  • 2021-06-12
  • 2021-10-30
  • 2022-12-23
  • 2022-01-31
  • 2022-02-20
  • 2021-09-30
猜你喜欢
  • 2021-12-27
  • 2021-12-06
  • 2021-09-15
相关资源
相似解决方案