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