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); }
public static void SetSections(ComponentSettingsDialog source, StringCollection value) { source.SetValue(SectionsProperty, value); }
public static StringCollection GetSections(ComponentSettingsDialog source) { return((StringCollection)source.GetValue(SectionsProperty)); }