Using Windows 8.1 SettingsFlyout control

Despite its name, the new SettingsFlyout control that comes with Windows 8.1 can be used as a normal flyout, like the one that is used, for example, by the official Twitter app for Windows Store:

setting flyout

If you want to show it independently you can use the following code.

  1. privatevoidButton_Click(object sender,RoutedEventArgs e)
  2. {
  3. var flyout =newMyFlyout{Width=646};
  4. // Opens the Settings flyout, and returns the user to the app
  5. // after the flyout is dismissed.
  6. flyout.ShowIndependent();

Thanks

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s