<Window x:Class="WpfApplication1.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="" Height="300" Width="300"> <StackPanel HorizontalAlignment="Center" Margin="10"> <Button Width="50" Height="100"> <DockPanel> <Ellipse Margin="5" DockPanel.Dock="Top" Stroke="Black" Fill="Red" /> <Ellipse Margin="5" DockPanel.Dock="Top" Stroke="Black" Fill="Yellow" /> <Ellipse Margin="5" DockPanel.Dock="Top" Stroke="Black" Fill="Green" /> </DockPanel> </Button> </StackPanel> </Window>