2010-03-08 75 views

回答

2
DoubleAnimation animation = new DoubleAnimation(20, TimeSpan.FromSeconds(1.0)); 
MyTextBlock.BeginAnimation(TextBlock.FontSizeProperty, animation); 

哪裏MyTextBlock是你希望動畫TextBlock的實例,20是目標字體大小。