public DynamicViewBase() { Children = new XamlSafeObservableCollection <DynamicViewBase>(); Children.CollectionChanged += Children_CollectionChanged; //Children = new DynamicViewCollection<DynamicViewBase>(); //Children.CollectionChanged += Children_CollectionChanged; }
public SequentialStoryboard() { //_children = new ObservableCollection<SequentialStoryboardItem>(); //Children = _children; //Children = new StoryboardSequenceCollection<SequentialStoryboardItem>(); Children = new XamlSafeObservableCollection <SequentialStoryboardItem>(); Children.CollectionChanged += Children_CollectionChanged; }
//public SpriteButtonCollection<SpriteButton> Buttons //{ // get { return (SpriteButtonCollection<SpriteButton>)GetValue(ButtonsProperty); } // set { SetValue(ButtonsProperty, value); } //} #endregion Properties #region Ctor public MultiButtonDV() { //_buttons = new ObservableCollection<SpriteButton>(); //Buttons = _buttons; Buttons = new XamlSafeObservableCollection <SpriteButton>(); //Buttons = new SpriteButtonCollection<SpriteButton>(); this.Loaded += (sender, e) => { FadeIn(); }; }
public DynamicViewHost() { //_dynamicViews = new ObservableCollection<DynamicViewBase>(); //DynamicViews = _dynamicViews; DynamicViews = new XamlSafeObservableCollection <DynamicViewBase>(); DynamicViews.CollectionChanged += DynamicViews_CollectionChanged; //DynamicViews = new DynamicViewCollection<DynamicViewBase>(); //DynamicViews.CollectionChanged += DynamicViews_CollectionChanged; }
public AnimationTemplate(XamlSafeObservableCollection <Setter> setters) { Setters = setters; }
public AnimationTemplate() { Setters = new XamlSafeObservableCollection <Setter>(); }