Example #1
0
        public override async Task ShowSettings(string title, IEnumerable <string> sections)
        {
            var settings = default(ComponentSettingsDialog);
            await global::FoxTunes.Windows.Invoke(() =>
            {
                settings          = new ComponentSettingsDialog();
                settings.Sections = new StringCollection(sections);
            }).ConfigureAwait(false);

            await global::FoxTunes.Windows.ShowDialog(this.Core, title, settings).ConfigureAwait(false);
        }
Example #2
0
 public static void SetSections(ComponentSettingsDialog source, StringCollection value)
 {
     source.SetValue(SectionsProperty, value);
 }
Example #3
0
 public static StringCollection GetSections(ComponentSettingsDialog source)
 {
     return((StringCollection)source.GetValue(SectionsProperty));
 }