(X) Hide this Join our next live webcast on December 15th, 10 am PDT - Building a Silverlight 4 application end-to-end. Presenter: Gill Cleeren
Check the webinar agenda | Register for the webinar
Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 2 results for Source.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Order by Publish Date   Ascending Title   Rating  

  • 0 comments  /  posted by  Silverlight Show  on  Aug 13, 2009 (more than a year ago)

    Jeff Handley has some tips on how to work on projects that need to support both Silverlight and the full .NET Framework.

    I am one of the proud folks that gets to work on the System.ComponentModel.DataAnnotations assembly.  This assembly is used by several products, and it seems more are starting to depend on it.  Part of the fun with this assembly is that it exists for both Silverlight (as of Silverlight 3), and the full .NET Framework (as of .NET 3.5 SP1).

    I am responsible for managing source code sharing of this assembly for the two frameworks; in fact, I’m doing some work today related to this. Phil asked me for tips on how to work on projects that need to support both frameworks, and here’s what I came up with. 



  • 0 comments  /  posted by  Silverlight Show  on  Mar 02, 2009 (more than a year ago)
    Tags: Image , Source , Silverlight , C# , Mike Snow

    Here is the new tip of the day from the Mike Snow’s blog and this time it is about getting an image’s source file name.

    Once you have an image loaded how do you go back and get the original file name for the source file? This can be accomplished through the Uri property of the images Source. However, you must first typecast the images Source to be a BitmapImage. The Uri has a property called OriginalString that returns the full relative path to the image file.