TextEffect.Transform Vlastnost

Definice

Získá nebo nastaví Transform , který se použije na TextEffect.

public:
 property System::Windows::Media::Transform ^ Transform { System::Windows::Media::Transform ^ get(); void set(System::Windows::Media::Transform ^ value); };
public System.Windows.Media.Transform Transform { get; set; }
member this.Transform : System.Windows.Media.Transform with get, set
Public Property Transform As Transform

Hodnota vlastnosti

Transform

Hodnota Transform TextEffect.

Příklady

V následujícím příkladu TextEffect TextBlock značek se vytvoří objekt. V tomto případě je efekt animací otočení.

<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>

Poznámky

Informace o vlastnosti závislosti

Pole identifikátoru TransformProperty
Vlastnosti metadat nastavené na true Žádné

Platí pro