Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以仅禁用 RibbonSplitButton 中的顶部按钮?如果我设置 IsEnabled=True 整个按钮(顶部按钮加下拉)被禁用。
我找到了这样做的方法。 如果顶部按钮绑定到命令,则该命令的 canExecute 必须设置为 false。