Remeber the demo Don and Chris did in one of the MSDN TV shows?
In my last WinFX presentation one of the attendees asked me during the break to build the same simple app that Don and Chris built; honstly I was happy to know that people in Jordan are watching MSDN TV, in addition he gave me an idea in what to demo about! to tell the truth I didn't plan a demo scenario, I was relying on the feedback from the attendees.
Down below is the source code:
<
Window x:Class="Window1"
xmlns="http://schemas.microsoft.com/winfx/avalon/2005"
xmlns:x="http://schemas.microsoft.com/winfx/xaml/2005"
Title="Hello Geeks with blogs"
Width="640"
Height="480"
>
<
Canvas>
<
MediaElement Source="C:\JordevWinFXCN\Bliss.avi" Opacity="0.7"/>
<
StackPanel Orientation="Horizontal">
<
StackPanel.LayoutTransform>
<
TransformGroup>
<
ScaleTransform ScaleX="2" ScaleY="2" />
<
RotateTransform Angle="30" />
</
TransformGroup>
</
StackPanel.LayoutTransform>
<
TextBox Width="2in" Height="30" Name="txtbxMyName" Background="#44ffffff"></TextBox>
<
Button Width="120" Height="40" Name="btnSayHello" Click="SayHello" Background="#44000000">Push me I'm clean</Button>
</
StackPanel>
</
Canvas>
</
Window>
The only problem that I faced was the RepeateCount property, in the December CTP; it just disappered! I went home and searched the whole SDK documentation but now results...