【发布时间】:2012-03-16 09:47:38
【问题描述】:
是否可以在 Fluent Ribbon 中以编程方式打开 Backstage 控件?
【问题讨论】:
标签: ribbon fluent ribbon-control fluent-ribbon
是否可以在 Fluent Ribbon 中以编程方式打开 Backstage 控件?
【问题讨论】:
标签: ribbon fluent ribbon-control fluent-ribbon
解决后台设置IsOpen属性
【讨论】:
private void ButtonBase_OnClick(object sender, RoutedEventArgs e)
{
//execute the command from the View Model
((Fluent.Button)sender).Command.Execute(null);
//close the backstage
this.Menu.IsOpen = false;
}
【讨论】: