Create a shadow effect for displayed text. : BitmapEffect « Windows Presentation Foundation « C# / C Sharp

Home
C# / C Sharp
1.2D Graphics
2.Class Interface
3.Collections Data Structure
4.Components
5.Data Types
6.Database ADO.net
7.Design Patterns
8.Development Class
9.Event
10.File Stream
11.Generics
12.GUI Windows Form
13.Language Basics
14.LINQ
15.Network
16.Office
17.Reflection
18.Regular Expressions
19.Security
20.Services Event
21.Thread
22.Web Services
23.Windows
24.Windows Presentation Foundation
25.XML
26.XML LINQ
C# / C Sharp by API
C# / CSharp Tutorial
C# / CSharp Open Source
C# / C Sharp » Windows Presentation Foundation » BitmapEffectScreenshots 
Create a shadow effect for displayed text.
Create a shadow effect for displayed text.
 

<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  x:Class="SDKSample.Window1" Title="Text Shadow Samples"
  Background="FloralWhite">
  <StackPanel>
      <TextBlock FontSize="64" Text="Shadow Text" Foreground="Teal">
        <TextBlock.BitmapEffect>
          <DropShadowBitmapEffect ShadowDepth="6" Direction="330" Color="Black" Opacity="0.5" Softness="0.25" />
        </TextBlock.BitmapEffect>
      </TextBlock>
  </StackPanel>
</Window>

   
  
Related examples in the same category
1.A Beveled Button and TextBlock with BevelBitmapEffectA Beveled Button and TextBlock with BevelBitmapEffect
2.Shadow Effect and DropShadowBitmapEffectShadow Effect and DropShadowBitmapEffect
3.Embossed Effect with EmbossBitmapEffectEmbossed Effect with EmbossBitmapEffect
4.Glowing Effect with OuterGlowBitmapEffectGlowing Effect with OuterGlowBitmapEffect
5.Blur Effect with BlurBitmapEffectBlur Effect with BlurBitmapEffect
6.Hard single shadowHard single shadow
7.Hard shadow on top of soft shadowHard shadow on top of soft shadow
8.Hard shadow on top of noisy shadowHard shadow on top of noisy shadow
9.Shadow effect by creating an outer glowShadow effect by creating an outer glow
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.