A Shadowed Button with DropShadowBitmapEffect : BitmapEffect « Windows Presentation Foundation « VB.Net






A Shadowed Button with DropShadowBitmapEffect

A Shadowed Button with DropShadowBitmapEffect
     
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    x:Class="Microsoft.Samples.Graphics.RectangleExample"
    WindowTitle="Example">
  <Canvas>
    <Button>
      <Button.Content>A Shadowed Button</Button.Content>
      <Button.BitmapEffect>
        <DropShadowBitmapEffect></DropShadowBitmapEffect>
      </Button.BitmapEffect>
    </Button>


  </Canvas>
</Page>

   
    
    
    
    
  








Related examples in the same category

1.Beveled Text with BevelBitmapEffectBeveled Text with BevelBitmapEffect
2.Embossed Text with EmbossBitmapEffectEmbossed Text with EmbossBitmapEffect
3.Image with EmbossBitmapEffectImage with EmbossBitmapEffect
4.Image with EmbossBitmapEffect and Relief = 0.5Image with EmbossBitmapEffect and Relief = 0.5
5.Shadowed Text with DropShadowBitmapEffectShadowed Text with DropShadowBitmapEffect
6.Distant ShadowDistant Shadow
7.Small Glow and OuterGlowBitmapEffectSmall Glow and OuterGlowBitmapEffect
8.Grainy Glow and OuterGlowBitmapEffect, GlowSize, NoiseGrainy Glow and OuterGlowBitmapEffect, GlowSize, Noise
9.Glowing Text and OuterGlowBitmapEffectGlowing Text and OuterGlowBitmapEffect
10.Grainy Glow and OuterGlowBitmapEffectGrainy Glow and OuterGlowBitmapEffect
11.A Blurred Button with BlurBitmapEffectA Blurred Button with BlurBitmapEffect
12.A Really Blurred Button by setting the Radius of BlurBitmapEffectA Really Blurred Button by setting the Radius of BlurBitmapEffect
13.A Beveled Button with BevelBitmapEffectA Beveled Button with BevelBitmapEffect
14.Gaussian KernelType BlurBitmapEffectGaussian KernelType BlurBitmapEffect
15.Set Radius for BlurBitmapEffectSet Radius for BlurBitmapEffect
16.OuterGlowBitmapEffect for a ButtonOuterGlowBitmapEffect for a Button
17.OuterGlowBitmapEffect with Black GlowColor and 1 GlowSizeOuterGlowBitmapEffect with Black GlowColor and 1 GlowSize
18.BevelBitmapEffect EdgeProfile=BulgedUpBevelBitmapEffect EdgeProfile=BulgedUp
19.Change OuterGlowBitmapEffect for a ButtonChange OuterGlowBitmapEffect for a Button