Ejemplo n.º 1
0
        public CurrentMarker(TimelineView timelineView, Timeline timeline)
        {
            InitializeComponent();

            _timelineView = timelineView;
            _timeline = timeline;
            if (_timeline == null)
                throw new NotSupportedException("no timeline model");

            _timeline.PropertyChanged += propertyChanged;

            addToScene();
        }
Ejemplo n.º 2
0
        public TimelineEventView(Canvas scene, double timelineBottomY, TimelineEvent te, TimelineView timeline)
        {
            InitializeComponent();

            _timeline = timeline;

            _timelineBottomY = timelineBottomY;

            DataContext = te;
            te.view = this;
            AddToScene();

            UpdatePositionByModel(te);
        }
        public TimelineEventView(Canvas scene, double timelineBottomY, TimelineEvent te, TimelineView timeline)
        {
            InitializeComponent();

            _timeline = timeline;

            _timelineBottomY = timelineBottomY;

            DataContext = te;
            te.view     = this;
            AddToScene();

            UpdatePositionByModel(te);
        }
Ejemplo n.º 4
0
        public CurrentMarker(TimelineView timelineView, Timeline timeline)
        {
            InitializeComponent();

            _timelineView = timelineView;
            _timeline     = timeline;
            if (_timeline == null)
            {
                throw new NotSupportedException("no timeline model");
            }

            _timeline.PropertyChanged += propertyChanged;

            addToScene();
        }