Top "Silverlight" questions

Silverlight is Microsoft's cross-browser, cross platform plug-in for media experiences and rich interactive applications.

Difference between SelectedItem, SelectedValue and SelectedValuePath

What is the difference betweeen the following: SelectedItem SelectedValue SelectedValuePath All these dependency properties are defined in Selector class. I …

wpf silverlight xaml selecteditem selectedvalue
How to trigger event when a variable's value is changed?

I'm currently creating an application in C# using Visual Studio. I want to create some code so that when a …

c# visual-studio silverlight windows-phone-7 event-handling
How do I space out the child elements of a StackPanel?

Given a StackPanel: <StackPanel> <TextBox Height="30">Apple</TextBox> <TextBox Height="80">Banana</…

wpf silverlight xaml stackpanel
How to automatically select all text on focus in WPF TextBox?

If I call SelectAll from a GotFocus event handler, it doesn't work with the mouse - the selection disappears as …

.net wpf silverlight textbox
How to programmatically set the Image source

When the Image's Source property is set the following way, the picture is taken from /Images/down.png. How would …

c# image silverlight code-behind
Could not find an implementation of the query pattern

In my silverlight application I am trying to create a database connection using LINQ. First I add a new LINQ …

c# sql silverlight wcf linq
Format Date/Time in XAML in Silverlight

I have a Silverlight 4 application. I have a C# DateTime object that I'm binding to my UI. I want this …

c# silverlight xaml
Encoding parameters for a URL

I have a Silverlight application that is building a URL. This URL is a call to a REST-based service. This …

c# .net url silverlight encoding
This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread

I have a DataGrid which is populating data from ViewModel by asynchronous method.My DataGrid is : <DataGrid ItemsSource="{Binding …

c# wpf xaml silverlight mvvm
Set CornerRadius on button template

I want to have a Button that defines no CornerRadius and two others that do, how can I achieve this? &…

c# wpf silverlight xaml