|
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 TextEffect
Namespace: System.Windows.Media
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 TextEffect expõe os membros a seguir.
| Nome | Descrição | |
|---|---|---|
![]() | TextEffect() | |
![]() | TextEffect(Transform, Brush, Geometry, Int32, Int32) |
| Nome | Descrição | |
|---|---|---|
![]() | CanFreeze | |
![]() | Clip | |
![]() | DependencyObjectType | |
![]() | Dispatcher | |
![]() | Foreground | |
![]() | HasAnimatedProperties | |
![]() | IsFrozen | |
![]() | IsSealed | |
![]() | PositionCount | |
![]() | PositionStart | |
![]() | Transform |
| Nome | Descrição | |
|---|---|---|
![]() | ApplyAnimationClock(DependencyProperty, AnimationClock) | |
![]() | ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) | |
![]() | BeginAnimation(DependencyProperty, AnimationTimeline) | |
![]() | BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) | |
![]() | CheckAccess | |
![]() | ClearValue(DependencyProperty) | |
![]() | ClearValue(DependencyPropertyKey) | |
![]() | Clone | |
![]() | CloneCurrentValue | |
![]() | CoerceValue | |
![]() | Equals | |
![]() | Freeze() | |
![]() | GetAnimationBaseValue | |
![]() | GetAsFrozen | |
![]() | GetCurrentValueAsFrozen | |
![]() | GetHashCode | |
![]() | GetLocalValueEnumerator | |
![]() | GetType | |
![]() | GetValue | |
![]() | InvalidateProperty | |
![]() | ReadLocalValue | |
![]() | SetCurrentValue | |
![]() | SetValue(DependencyProperty, Object) | |
![]() | SetValue(DependencyPropertyKey, Object) | |
![]() | ShouldSerializeProperty | |
![]() | ToString | |
![]() | VerifyAccess |
| Nome | Descrição | |
|---|---|---|
![]() ![]() | ClipProperty | |
![]() ![]() | ForegroundProperty | |
![]() ![]() | PositionCountProperty | |
![]() ![]() | PositionStartProperty | |
![]() ![]() | TransformProperty |

<TextBlock FontSize="60" Margin="50"> Windows Vista <TextBlock.TextEffects> <!-- The TextEffect to animate. --> <TextEffect PositionCount="1" x:Name="MyTextEffect"> <TextEffect.Transform> <RotateTransform x:Name="TextEffectRotateTransform" Angle="0" CenterX="10" CenterY="10" /> </TextEffect.Transform> </TextEffect> </TextBlock.TextEffects> <TextBlock.Triggers> <EventTrigger RoutedEvent="TextBlock.Loaded"> <EventTrigger.Actions> <BeginStoryboard> <Storyboard> <ParallelTimeline RepeatBehavior="Forever"> <!-- Animates the angle of the RotateTransform applied to the TextEffect. --> <DoubleAnimation Storyboard.TargetName="TextEffectRotateTransform" Storyboard.TargetProperty="Angle" From="0" To="360" Duration="00:00:0.75" BeginTime="0:0:0.25" /> </ParallelTimeline> <!-- Animates the horizontal center of the RotateTransform applied to the TextEffect. --> <DoubleAnimation From="30" To="370" Duration="00:00:13" RepeatBehavior="Forever" AutoReverse="True" Storyboard.TargetName="TextEffectRotateTransform" Storyboard.TargetProperty="CenterX" /> <!-- Animates the position of the TextEffect. --> <Int32AnimationUsingKeyFrames Storyboard.TargetName="MyTextEffect" Storyboard.TargetProperty="PositionStart" Duration="0:0:13" AutoReverse="True" RepeatBehavior="Forever"> <Int32AnimationUsingKeyFrames.KeyFrames> <DiscreteInt32KeyFrame Value="0" KeyTime="0:0:0" /> <DiscreteInt32KeyFrame Value="1" KeyTime="0:0:1" /> <DiscreteInt32KeyFrame Value="2" KeyTime="0:0:2" /> <DiscreteInt32KeyFrame Value="3" KeyTime="0:0:3" /> <DiscreteInt32KeyFrame Value="4" KeyTime="0:0:4" /> <DiscreteInt32KeyFrame Value="5" KeyTime="0:0:5" /> <DiscreteInt32KeyFrame Value="6" KeyTime="0:0:6" /> <DiscreteInt32KeyFrame Value="7" KeyTime="0:0:7" /> <DiscreteInt32KeyFrame Value="8" KeyTime="0:0:8" /> <DiscreteInt32KeyFrame Value="9" KeyTime="0:0:9" /> <DiscreteInt32KeyFrame Value="10" KeyTime="0:0:10" /> <DiscreteInt32KeyFrame Value="11" KeyTime="0:0:11" /> <DiscreteInt32KeyFrame Value="12" KeyTime="0:0:12" /> </Int32AnimationUsingKeyFrames.KeyFrames> </Int32AnimationUsingKeyFrames> </Storyboard> </BeginStoryboard> </EventTrigger.Actions> </EventTrigger> </TextBlock.Triggers> </TextBlock>
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.
