Geeks With Blogs

Steve Clements .Net and then some.... Silverlight
Silverlight: Working with ActualHeight & ActualWidth at Runtime
I came up against a problem, it seems like a pretty specific problem, but none the less the solution took me a while to figure out, so worth sharing! My problem: I have a user control that contains some text among other things, but the text is of various length, the containing textblock therefore, like the user control has a dynamic height (set the Height property to System.Double.NaN). There are n instances of the user control within a StackPanel, as a control is added to the StackPanel I want a ......

Posted On Sunday, November 29, 2009 11:50 PM

Silverlight DataGrid: Scroll with mouse wheel…quick and dirty!
By Default scrolling with the mouse wheel is not enabled in the Silverlight DataGrid, actually I don’t think any control has it enabled. Personally I think its pretty standard functionality for things to scroll with the mouse wheel. So, I have got this little chunk of code that takes does the trick, nothing fancy going on here, but it works a treat. Code Snippet private void dgResults_MouseWheel(object sender, MouseWheelEventArgs e) { if (!e.Handled) { int rowsToMove = 0; if (e.Delta < 0) { rowsToMove ......

Posted On Friday, November 13, 2009 10:27 AM

Sharepoint | Silverlight video player web part
Silverlight makes working with videos pretty straight forward, Microsoft makes Silverlight pretty straight forward with and sharepoint is written in, so match made in tech heaven!! I wanted a video player web part for sharepoint, that had some simple functionality like play, pause and volume. I started with expression encoder which output a nice media player interface...this is OK, but has a couple of restrictions; 1, its far to rich for what I wanted, animations all over the place ......

Posted On Tuesday, August 26, 2008 4:45 PM

MS: Would it really have been so difficult?
When working with and now XAML I lean towards code view over the designer, a preference of course, but considering this feature I guess I am not alone. When working with events in XAML you can simply type "Click=" and the nice little helper jumps up asking what event handler you'd like to wire it up to or even create a new one and the stub will be created. NICE! As an added little beauty, this doesn't automatically send you off into the code behind. Why-o-Why isn't it the same for ......

Posted On Thursday, April 10, 2008 8:49 AM

Silverlight 2.0 MIME type
When you want to host Silverlight 2.0 applications in IIS you need to add the extension .xap for the MIME type applicaition/x-silverlight-... otherwise zip, no errors, nadda, nothing, zilch!! Technorati Tags: Silverlight 2.0,MIME type ......

Posted On Friday, March 28, 2008 10:33 AM

MIX UK 07 - Day One! Silverlight, hosting, Live Services and ants!
Day one is over at MIX UK. As my first experience of a Microsoft conference I must say I was not disappointed :) The conference opened with a keynote from George Moore and Scott Guthrie and lots of small demos from third party companies and the little apps they have developed using MS technologies, mainly Silverlight, which is the main theme of the conference, well day one at least!! In the first and second session I stayed with ScottGu and watched as he ripped through the power of silverlight, present ......

Posted On Tuesday, September 11, 2007 7:21 PM

Just registered for my place at MIX 07 on September 11th & 12th in London. Anyone going?? Technorati Tags: MIX UK ......

Posted On Friday, August 3, 2007 8:06 PM

VS 2008, Silverlight and Blend
OK so anyone reading this is most likely aware that Visual Studio 2008 beta 2 has been released but you may not be aware that today they have released Silverlight RC1, Silverlight 1.1 tools for VS 2008. Plus MS have released a refresh to Expression Blend. Scott Hanselman's has the best post I have seen and is a one stop shop for all VS 2008 info. Check it out UPDATEI should really add for completeness, even though its already ......

Posted On Saturday, July 28, 2007 7:59 AM

Copyright © Steve Clements | Powered by: