0

I would like to make a button using xaml that will open the charms menu on press. Does anybody know how to do this? I am also using the Okra Framework, not sure if that matters

4

1 回答 1

1

我假设您正在寻找打开设置魅力菜单上的特定设置页面?如果是这样,请按照此操作。

使用 Okra,您可以在视图模型上获得对 SettingsPaneManager 的引用:

[Import]
public ISettingsPaneManager SettingsPaneManager { get; set; }

在视图模型上的命令函数中:

SettingsPaneManager.NavigateTo("NameOfPage");
于 2013-06-24T21:43:38.190 回答