Пример #1
0
        public void FocusTab(FlexDocumentTab t)
        {
            //PART_document.Children[0].RenderTransformOrigin = new Point(.5, .5);
            //PART_document.Children[0].RenderTransform = new ScaleTransform(1, 1,.5,.5);
            //PART_document.Children[0].RenderTransform.animate(ScaleTransform.ScaleXProperty, 200, 0);
            //PART_document.Children[0].RenderTransform.animate(ScaleTransform.ScaleYProperty, 200, 0, onCompleted:onCompleted);
            //PART_document.Children[0].animate(OpacityProperty, 100, 0);

            PART_document.Children.Clear();
            PART_document.Children.Add(t);
            RaiseEvent(new RoutedEventArgs(DocumentTabVisualChangedEvent, t));
            //t.animate(OpacityProperty, 300, 1, from:0, skewms:100);
        }
Пример #2
0
		public void FocusTab(FlexDocumentTab t)
		{
			//PART_document.Children[0].RenderTransformOrigin = new Point(.5, .5);
			//PART_document.Children[0].RenderTransform = new ScaleTransform(1, 1,.5,.5);
			//PART_document.Children[0].RenderTransform.animate(ScaleTransform.ScaleXProperty, 200, 0);
			//PART_document.Children[0].RenderTransform.animate(ScaleTransform.ScaleYProperty, 200, 0, onCompleted:onCompleted);
			//PART_document.Children[0].animate(OpacityProperty, 100, 0);

			PART_document.Children.Clear();
			PART_document.Children.Add(t);
			RaiseEvent(new RoutedEventArgs(DocumentTabVisualChangedEvent, t));
			//t.animate(OpacityProperty, 300, 1, from:0, skewms:100);
		}
Пример #3
0
		public TabSelectorItem(FlexDocumentTab tab)
		{
			DocumentTab = tab;
			Content = DocumentTab.Title;
		}