TextEffect in WPF

The code snippet in this article and attached project shows how to apply text effects in WPF using XAML.
  • 4181

TextEffects property is used ti apply text effects on a XAML element.

<TextBlock.TextEffects>

    <TextEffect PositionCount="1" x:Name="MyTextEffect">

        <TextEffect.Transform>

            <RotateTransform x:Name="TextEffectRotateTransform"

                Angle="0" CenterX="10" CenterY="10" />

        </TextEffect.Transform>

    </TextEffect>

</TextBlock.TextEffects>


Download the attached project with complete sample.

 
Ask Your Question 
 
Got a programming related question? You may want to post your question here
 

 

© 2019 DotNetHeaven. All rights reserved.