<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> <TextBlock FontSize="80" FontWeight="Bold" Foreground="Gray"> <TextBlock.Text>Beveled Text</TextBlock.Text> <TextBlock.BitmapEffect> <BevelBitmapEffect></BevelBitmapEffect> </TextBlock.BitmapEffect> </TextBlock> </Canvas> </Page>