Browse by Tags
All Tags »
visual studio 2008 (
RSS)
If you have a control written in XAML that is included in your project you can load and create it directly from file by using the method: System.Windows.Markup. XamlReader .Load(). This method can also be used to directly create a Silverlight control...
If you try to use the following characters in a string in XAML you will get a slew of errors in your Error List: < > & “ For example, if you tried to do this: < Button Width ="100" Height ="100" Content ="Click &...
TextBlocks are a great control to use in Silverlight to display read only text. In Tip of the Day #45 I covered the basic usage of TextBlocks including formatting and text runs. For this tip I would like to show you how to make a TextBlock with wrapping...
Let’s say your site is entirely written in Silverlight but you want to be able to load and run a different Silverlight application within your main Silverlight application/site. Currently this scenario is not directly supported in Silverlight. However...
In Silverlight you can interact directly with the HTML DOM (Document Object Model). This can be done through the HtmlPage .Document object: HtmlDocument doc = HtmlPage .Document; Make certain to first add a reference to the following namespace: using...
Styles are extremely important because they allow developers to control the look and layout of controls across their application. By using styles you can simply change the style declaration and all controls in the application are updated automatically...
The recent RC0 release of Silverlight Tools for Visual Studio is now compatible with Visual Web Developer Express with SP1 installed! Express is FREE and can be downloaded here: http://www.microsoft.com/express/download/ . This version only supports the...
In Silverlight 2 you can now put up Message Boxes. The call is simple and straight forward and can be made without any input from a user. This method takes the following three parameters with the last parameters being optional: String – The message you...
Let’s say a user clicks on a button and you want to popup a separate browser and point them to a specific web page. How do you do this in Silverlight? Silverlight now supports a method called HtmlPage .PopupWindow(). For security reasons this call can...
With Silverlight 2 RC0 Silverlight Controls can now be enabled/disabled via the property IsEnabled . This property is supported with all XAML controls found in the toolbox except those controls that are non-interactive (I.e. An ellipse, image, line, etc...
In the recent release of Silverlight 2 RC0 there is a new event that fires once before the rendering of each frame in your browser. This rendering event is routed to the specified event handler after animation and layout have been applied to the composition...
With the release of Silverlight 2 RC0 there are three new controls we will be discussing that were not available for beta 2. The three new controls with a Tip of the Day for each include: ProgressBar ComboxBox PasswordBox For this tip we will be exploring...
If you installed Silverlight 2.0 RC0 with the Blend 2.5 June Preview on the box you will notice the installer blocked on this version of Blend and gave the following error message: However, on the forums some customers have proceeded to install Blend...
With the release of Silverlight 2 RC0 there are three new controls we will be discussing that were not available for beta 2. The three new controls with a Tip of the Day for each include: ProgressBar ComboxBox PasswordBox For this tip we will be exploring...
With the release of Silverlight 2 RC0 there are three new controls we will be discussing that were not available for beta 2. The three new controls with a Tip of the Day for each include: ProgressBar ComboxBox PasswordBox For this tip we will be exploring...
Next