public AnimatedTitle(AnimationType animationType, string title, params string[] names) { _animationType = animationType; Title = title; foreach (string name in names) { NamesCollection.Add(name); } }
public MainWindow() { NamesCollection.Add(new NamesItem("Sport", "Chief")); InitializeComponent(); }