Blog Stats
  • Posts - 9
  • Articles - 2
  • Comments - 4
  • Trackbacks - 18

 

Last Usergroup Community Night WinFX Demo

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


Feedback

# re: Last Usergroup Community Night WinFX Demo

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 1/20/2006 10:33 PM | Marco

# re: Last Usergroup Community Night WinFX Demo

Gravatar great demo. i have a problem with binding, can you post somthing to explain it? 1/21/2006 9:30 AM | Adam

# re: Last Usergroup Community Night WinFX Demo

Gravatar RE: Marco
No worries :) 1/21/2006 11:58 AM | bander

Post a comment





 

Please add 3 and 2 and type the answer here:

 

 

Copyright © Bander Alsharfi