Ejemplo n.º 1
0
        public DoubleAnimationUsingKeyFrames()
        {
            this.animationOperations = DoubleAnimationOperations.Default;
            this.isAccumulable       = true;

            KeyFrames = new FreezableCollection <DoubleKeyFrame>();
            KeyFrames.SetInheritanceParent(this);
        }
        public KeyFramesAnimationTimeline(IAnimationOperations <T> animationOperations, bool isAccumulable)
        {
            this.animationOperations = animationOperations;
            this.isAccumulable       = isAccumulable;

            KeyFrames = new FreezableCollection <KeyFrame <T> >();
            KeyFrames.SetInheritanceParent(this);
        }
Ejemplo n.º 3
0
        public VisualStateGroup()
        {
            States = new FreezableCollection<VisualState>();
            States.SetInheritanceParent(this);

            Transitions = new FreezableCollection<VisualTransition>();
            Transitions.SetInheritanceParent(this);
        }
Ejemplo n.º 4
0
        public Grid()
        {
            RowDefinitions = new FreezableCollection<RowDefinition>();
            RowDefinitions.SetInheritanceParent(this);

            ColumnDefinitions = new FreezableCollection<ColumnDefinition>();
            ColumnDefinitions.SetInheritanceParent(this);

            defaultRowDefinitions = new [] { new RowDefinition() };
            defaultColumnDefinitions = new [] { new ColumnDefinition() };
        }
Ejemplo n.º 5
0
        public Grid()
        {
            RowDefinitions = new FreezableCollection <RowDefinition>();
            RowDefinitions.SetInheritanceParent(this);

            ColumnDefinitions = new FreezableCollection <ColumnDefinition>();
            ColumnDefinitions.SetInheritanceParent(this);

            defaultRowDefinitions    = new [] { new RowDefinition() };
            defaultColumnDefinitions = new [] { new ColumnDefinition() };
        }