已经解决问题了,需要用到RibbonFoldPanel先把两个按钮放一起,其属性设置为
- IsTopJustified = true,
- ResizeStyle = RibbonItemResizeStyles.ChangeSize | RibbonItemResizeStyles.Collapse,
- SubPanelResizeStyle = Autodesk.Windows.RibbonFoldPanelResizeStyle.NoResize,
- DefaultSize = RibbonFoldPanelSize.Medium
|