SettingsManagement
Tim Heuer edited this page Oct 23, 2013
·
3 revisions
This API is meant to simplify the hookup of SettingsFlyout controls within your application. Since SettingsFlyouts are meant to be app-wide, this aims to simplify the registration of these in your app using a manager API class.
It tightly integrates with the AppManifestHelper API to retrieve certain visual element data (background color).
Within your App.xaml.cs, you can initialize various SettingsFlyouts:
AppSettings.Current.AddCommand<SettingsContent>("App Registered", SettingsFlyout.SettingsFlyoutWidth.Wide);
- The latest release leverages the new
Windows.UI.Xaml.Controls.SettingsFlyout
control as the host, and theAddCommand
methods are overloaded to take a double as a size instead of a CallistoSettingsFlyoutWidth
.