Geeks With Blogs
Bander Alsharfi yet another WinFX fan!

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

Posted on Thursday, January 19, 2006 9:57 AM | Back to top


Comments on this post: Last Usergroup Community Night WinFX Demo

# re: Last Usergroup Community Night WinFX Demo
Requesting Gravatar...
and all this time I was trying to write it using the MSDN TV code :s

There is another demo where they play a clipped video by a canvas and place text infront of it.

Can you write that too and list some good resources?

Thanks
Left by Marco on Jan 20, 2006 10:33 PM

# re: Last Usergroup Community Night WinFX Demo
Requesting Gravatar...
great demo. i have a problem with binding, can you post somthing to explain it?
Left by Adam on Jan 21, 2006 9:30 AM

# re: Last Usergroup Community Night WinFX Demo
Requesting Gravatar...
RE: Marco
No worries :)
Left by bander on Jan 21, 2006 11:58 AM

Your comment:
 (will show your gravatar)


Copyright © Bander Alsharfi | Powered by: GeeksWithBlogs.net