Getting Started with WPF
Getting Started with WPF

Creating my own media player

I’ve been tasked at creating a new feature / porting an application from WinForms to WPF at work.  Since Channel9 deals heavily with video, you guessed it, I have to deal with video! After attempting to see if there was a decent WPF player or example for the MediaElement, it really didn’t seem like there was.  Some of the examples did some crazy stuff when it wasn’t needed. So here are my requirements for it as of now: Play, Stop, Pause Be able to see current position’s time code ...

Dynamically loading XAML

For the bartender, I’m going pure WPF.  Since Expression Blend 3.0 now can import Adobe Illustrator files, my friend Ian can use the tools he knows best and produce me some amazing graphics.  I don’t do amazing graphics so I’m going to show how to do it with simple shapes. Based off the code in my prior post for my Big Button, I’ll be dynamically adding stuff in.  Before and After Screen shots: Base XAML as it was slightly modified.  I’ve added in another grid to load the items into. <Button Name="bigButton" Margin="14,6,14,71.517" Click="bigButton_Click"> <Grid> <Grid.RowDefinitions> <RowDefinition...

XAML, getting your feet wet

Coming from an ASP.Net and WinForm background, XAML seems like it would be fairly easy to get a handle on but I’m having to take a bit more cautious approach to it. XAML is XML as is HTML and kind of has some CSS like attributes but at the same time they are different.  For this reason, I’m taking baby steps to port my old bartending application over.  The first thing I’m going to attack is the button.  Here is the button from the Win32 application.  Yes, I know it looks WPF like but that is just chrome my...