Button Control does not work
<
Canvasxmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" ><!--
<Canvas.Triggers><EventTrigger RoutedEvent="Canvas.Loaded">
<BeginStoryboard>
<Storyboard BeginTime="0" Duration="Forever">
<DoubleAnimation Storyboard.TargetName="WhiteEllipse" Storyboard.TargetProperty="(Canvas.Left)" From="0" To="300" AutoReverse="true" BeginTime="0:0:0" Duration="0:0:1" RepeatBehavior="Forever"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Canvas.Triggers>
<Ellipse x:Name="RedEllipse" Fill="red" Height="100" Width="100" />
<Ellipse x:Name="WhiteEllipse" Fill="#FFFFFFFF" Stroke="#FF000000" Width="100" Height="100" Canvas.Left="321" Canvas.Top="161.2"/>
<TextBlock x:Name="MyLink" Canvas.Left="0" Canvas.Top="0" FontFamily="Verdana" FontSize="12" Width="250" TextWrapping="Wrap" Text="some say on his days off he makes shoes for tiny little ants..." />
--><
ButtonHorizontalAlignment="Stretch"Margin
="57,37,48,111"VerticalAlignment
="Stretch"Height
="Auto"Width="Auto"Grid.RowSpan
="1"Grid.Column="0"Grid.Row
="0"Grid.ColumnSpan="1"><
DockPanelWidth="142.926143024619"Height="90.5360416666667"><
TextBlockDockPanel.Dock="Bottom">Here is the caption!
</
TextBlock></
DockPanel></
Button></
Canvas>Pls look at my xaml file. I add button in to xaml but it does not work but ellipse and textblock can work.
Pls let me know what i miss in my xaml.
Thanks,
Alex

