Ejemplo n.º 1
0
        public DynamicViewBase()
        {
            Children = new XamlSafeObservableCollection <DynamicViewBase>();
            Children.CollectionChanged += Children_CollectionChanged;

            //Children = new DynamicViewCollection<DynamicViewBase>();
            //Children.CollectionChanged += Children_CollectionChanged;
        }
Ejemplo n.º 2
0
 public SequentialStoryboard()
 {
     //_children = new ObservableCollection<SequentialStoryboardItem>();
     //Children = _children;
     //Children = new StoryboardSequenceCollection<SequentialStoryboardItem>();
     Children = new XamlSafeObservableCollection <SequentialStoryboardItem>();
     Children.CollectionChanged += Children_CollectionChanged;
 }
Ejemplo n.º 3
0
        //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(); };
        }
Ejemplo n.º 4
0
        public DynamicViewHost()
        {
            //_dynamicViews = new ObservableCollection<DynamicViewBase>();
            //DynamicViews = _dynamicViews;
            DynamicViews = new XamlSafeObservableCollection <DynamicViewBase>();
            DynamicViews.CollectionChanged += DynamicViews_CollectionChanged;

            //DynamicViews = new DynamicViewCollection<DynamicViewBase>();
            //DynamicViews.CollectionChanged += DynamicViews_CollectionChanged;
        }
Ejemplo n.º 5
0
 public AnimationTemplate(XamlSafeObservableCollection <Setter> setters)
 {
     Setters = setters;
 }
Ejemplo n.º 6
0
 public AnimationTemplate()
 {
     Setters = new XamlSafeObservableCollection <Setter>();
 }