Monthly Archives: October 2007

Resize Silverlight 1.0 app to size of browser

OK, this is pretty simple, but I thought I would post if (at the very least for my reference).
Problem: How do I make the Silverlight application the size of my browser?
Solution:

Add this line to the Page_Loaded event
BrowserHost.Resize += new EventHandler(BrowserHost_Resize);
Add this to the code behind file
void BrowserHost_Resize(object sender, EventArgs e)
{
Width = BrowserHost.ActualWidth;
Height = BrowserHost.ActualHeight;
}
(You may [...]

Dynamic controls in Silverlight

Last week I can upon a GREAT article by Justin Angel.  He presents different approaches on how to implement dynamic controls in Silverlight.  Then he details exactly how to go about doing this.  This is a MUST read for anyone who is going to write a Silverlight application the right way.
http://blogs.microsoft.co.il/blogs/justinangel/archive/2007/08/14/Silverlight-Controls-_2D00_-The-path-to-reusable-XAML.aspx
After going through Justin’s article [...]

Downloader object

What is the Downloader object and what can it do?
This is one of the first questions I ran into while exploring Silverlight.  This object will retrieve objects (images, video, xaml) asynchronously, much like AJAX.  There is a gaping limitation being that it cannot go cross domain. 
To get around this take a look at Peter Kellner’s [...]

The beginning: putting Silverlight to use

Playing around with Silverlight has been fun (and frustrating).  Time has come where I need to put all my research to use.  A Photo album is where I’m going to start.  There is a photo viewer on the Microsoft sample site (http://silverlight.net/community/gallerydetail.aspx?cat=4).  However, I want to build a photo viewer that will integrate into Flickr [...]

Expression Blend tutorials

Over the weekend I ran into this site that has great screencasts on Expression Blend.  The videos run from very basic to advanced.
http://movielibrary.lynda.com/html/modPage.asp?ID=384

Tags: Silverlight, Expression Blend, WPF, Microsoft

While developing…

Here are some things I want to do and links to sites that helped me get there:
Resize
Silverlight to the size of the whole screen:
Drag objects
How do click an object and drag it?  (it’s just a simple question)
http://www.wynapse.com//Silverlight/Tutor/Silverlight_Intuitive_Drag_and_Drop.aspx
File upload
This site is part of Microsoft’s QuickStarts, but very straight forward demo.  I have been unable to find [...]

The name says it all

My goal is to make sense of Microsoft Silverlight.  I come from a .NET 2.0 web application background, so the next obvious transition is to look at .NET 3.0 and 3.5.  When looking into Silverlight I had a hard time finding a good site(s), so this is my attempt and bringing some light to Silverlight [...]