Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

A Beveled Button with BevelBitmapEffect

<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 Beveled Button</Button.Content>         <Button.BitmapEffect>           <BevelBitmapEffect></BevelBitmapEffect>         </Button.BitmapEffect>       </Button>   </Canvas> </Page>