|
Este artigo foi traduzido por máquina. Coloque o ponteiro do mouse sobre as frases do artigo para ver o texto original. Mais informações.
|
Tradução
Original
|
Classe StringAnimationUsingKeyFrames
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Freezable
System.Windows.Media.Animation.Animatable
System.Windows.Media.Animation.Timeline
System.Windows.Media.Animation.AnimationTimeline
System.Windows.Media.Animation.StringAnimationBase
System.Windows.Media.Animation.StringAnimationUsingKeyFrames
Namespace: System.Windows.Media.Animation
Assembly: PresentationCore (em PresentationCore.dll)
XMLNS para XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
O tipo StringAnimationUsingKeyFrames expõe os membros a seguir.
| Nome | Descrição | |
|---|---|---|
![]() | StringAnimationUsingKeyFrames |
| Nome | Descrição | |
|---|---|---|
![]() | AccelerationRatio | |
![]() | AutoReverse | |
![]() | BeginTime | |
![]() | CanFreeze | |
![]() | DecelerationRatio | |
![]() | DependencyObjectType | |
![]() | Dispatcher | |
![]() | Duration | |
![]() | FillBehavior | |
![]() | HasAnimatedProperties | |
![]() | IsDestinationDefault | |
![]() | IsFrozen | |
![]() | IsSealed | |
![]() | KeyFrames | |
![]() | Name | |
![]() | RepeatBehavior | |
![]() | SpeedRatio | |
![]() | TargetPropertyType |
| Nome | Descrição | |
|---|---|---|
![]() | AddChild | |
![]() | AddText | |
![]() | AllocateClock | |
![]() | ApplyAnimationClock(DependencyProperty, AnimationClock) | |
![]() | ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) | |
![]() | BeginAnimation(DependencyProperty, AnimationTimeline) | |
![]() | BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) | |
![]() | CheckAccess | |
![]() | ClearValue(DependencyProperty) | |
![]() | ClearValue(DependencyPropertyKey) | |
![]() | Clone | |
![]() | CloneCore | |
![]() | CloneCurrentValue | |
![]() | CloneCurrentValueCore | |
![]() | CoerceValue | |
![]() | CreateClock() | |
![]() | CreateClock(Boolean) | |
![]() | CreateInstance |
Inicializa uma nova instância da classe
Freezable
.
|
![]() | CreateInstanceCore | |
![]() | Equals | |
![]() | Finalize | |
![]() | Freeze() | |
![]() | FreezeCore | |
![]() | GetAnimationBaseValue | |
![]() | GetAsFrozen | |
![]() | GetAsFrozenCore | |
![]() | GetCurrentValue(Object, Object, AnimationClock) | |
![]() | GetCurrentValue(String, String, AnimationClock) | |
![]() | GetCurrentValueAsFrozen | |
![]() | GetCurrentValueAsFrozenCore | |
![]() | GetCurrentValueCore | |
![]() | GetHashCode | |
![]() | GetLocalValueEnumerator | |
![]() | GetNaturalDuration | |
![]() | GetNaturalDurationCore | |
![]() | GetType | |
![]() | GetValue | |
![]() | InvalidateProperty | |
![]() | MemberwiseClone | |
![]() | OnChanged | |
![]() | OnFreezablePropertyChanged(DependencyObject, DependencyObject) | |
![]() | OnFreezablePropertyChanged(DependencyObject, DependencyObject, DependencyProperty) | |
![]() | OnPropertyChanged | |
![]() | ReadLocalValue | |
![]() | ReadPreamble | |
![]() | SetCurrentValue | |
![]() | SetValue(DependencyProperty, Object) | |
![]() | SetValue(DependencyPropertyKey, Object) | |
![]() | ShouldSerializeKeyFrames | |
![]() | ShouldSerializeProperty | |
![]() | ToString | |
![]() | VerifyAccess | |
![]() | WritePostscript | |
![]() | WritePreamble |
| Nome | Descrição | |
|---|---|---|
![]() | Changed | |
![]() | Completed | |
![]() | CurrentGlobalSpeedInvalidated | |
![]() | CurrentStateInvalidated | |
![]() | CurrentTimeInvalidated | |
![]() | RemoveRequested |
| Nome | Descrição | |
|---|---|---|
![]() ![]() | IAddChild.AddChild | |
![]() ![]() | IAddChild.AddText | |
![]() ![]() | IKeyFrameAnimation.KeyFrames |
<!-- Demonstrates the StringAnimationUsingKeyFrames class. A StringAnimationUsingKeyFrames is used to animate the TextContent property of a Text element. --> <Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="Microsoft.Samples.KeyFrameExamples.StringAnimationUsingKeyFramesExample" Name="myRootElement" WindowTitle="StringAnimationUsingKeyFrames Example"> <StackPanel HorizontalAlignment="Center"> <Button Name="myAnimatedButton" Margin="200" FontSize="16pt" FontFamily="Verdana">Some Text <Button.Triggers> <EventTrigger RoutedEvent="Button.Click"> <BeginStoryboard> <Storyboard> <StringAnimationUsingKeyFrames Storyboard.TargetName="myAnimatedButton" Storyboard.TargetProperty="(Button.Content)" Duration="0:0:8" FillBehavior="HoldEnd"> <!-- All the key frames below are DiscreteStringKeyFrames. Discrete key frames create sudden "jumps" between values (no interpolation). Only discrete key frames can be used for String key frame animations. --> <DiscreteStringKeyFrame Value="" KeyTime="0:0:0" /> <DiscreteStringKeyFrame Value="A" KeyTime="0:0:1" /> <DiscreteStringKeyFrame Value="An" KeyTime="0:0:1.5" /> <DiscreteStringKeyFrame Value="Ani" KeyTime="0:0:2" /> <DiscreteStringKeyFrame Value="Anim" KeyTime="0:0:2.5" /> <DiscreteStringKeyFrame Value="Anima" KeyTime="0:0:3" /> <DiscreteStringKeyFrame Value="Animat" KeyTime="0:0:3.5" /> <DiscreteStringKeyFrame Value="Animate" KeyTime="0:0:4" /> <DiscreteStringKeyFrame Value="Animated" KeyTime="0:0:4.5" /> <DiscreteStringKeyFrame Value="Animated " KeyTime="0:0:5" /> <DiscreteStringKeyFrame Value="Animated T" KeyTime="0:0:5.5" /> <DiscreteStringKeyFrame Value="Animated Te" KeyTime="0:0:6" /> <DiscreteStringKeyFrame Value="Animated Tex" KeyTime="0:0:6.5" /> <DiscreteStringKeyFrame Value="Animated Text" KeyTime="0:0:7" /> </StringAnimationUsingKeyFrames> </Storyboard> </BeginStoryboard> </EventTrigger> </Button.Triggers> </Button> </StackPanel> </Page>
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Função Server Core sem suporte), Windows Server 2008 R2 (Função Server Core com suporte com o SP1 ou posterior, Itanium sem suporte)
O .NET Framework não oferece suporte a todas as versões de cada plataforma. Para obter uma lista das versões com suporte, consulte .Requisitos de sistema do NET Framework.

