CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets My Favorites Favorites Web Code Search Snippets Search
Sign inor Register
Language: C#

Callisto Settings Code

204 Views   
// settings
Windows.UI.ApplicationSettings.SettingsPane.GetForCurrentView().CommandsRequested += (s, args) =>
{
    var _Command = new Windows.UI.ApplicationSettings.SettingsCommand("A", "Settings", (x) =>
    {
        new Callisto.Controls.SettingsFlyout
        {
            FlyoutWidth = Callisto.Controls.SettingsFlyout.SettingsFlyoutWidth.Narrow,
            HeaderText = "Settings",
            Content = new Flyouts.Settings(),
            IsOpen = true,
        };
    });
    args.Request.ApplicationCommands.Add(_Command);
};
by Jerry Nixon
  February 11, 2013 @ 7:40am
Tags:

Add a comment


Report Abuse
brought to you by:
West Wind Techologies