silverlight

Set a source of MultiScaleImage control in Silverlight

I am setting the source of an MultiScaleImage control but its not showing up me the imgae.:( Below is the code .. <Grid x:Name="LayoutRoot" > <MultiScaleImage Width="100" Height="100" Source="Image/Chrysanthemum.jpeg" /> </Grid> ...

W3C Web Content Accessibility Guidelines 1.0, which technology could I use?

Hi, I've a project where one of the requirements is fullfil the "W3C Web Content Accessibility Guidelines 1.0 (WCAG 1.0)". I'm now considering wich technology could I use to acomplish it, but I'm a little bit confused. Silverlight would be the easiest way, but I cannot find conclusive information about if silverlight is or isn't compi...

Silverlight SOS (Son of Strike) documenation

Is there any microsoft or even non-official documentation for SOS for Silverlight. Other than a few web posts I have seen zero documentation for it on MSDN. Even official documentation for the CLR version of SOS seems hard to find, this ancient article mentions a sos.htm file that is included in the windows SDK but it doesn't appear to...

Help binding combobox within dataform to view model property outside dataform's context

I have two properties in my view model: //Relationship has property ReasonForEndingId private Relationship editRelationship; public Relationship EditRelationship { get { return editRelationship; } set { if (editRelationship != value) { ...

Silverlight: How can I built an overview display block for any XAML?

Hi all, I am trying to create a generic "overview" control for any XAML. A good example of the desired effect would be on Google Maps or Bing maps: The main map zooms into some content, while a small "overview" block is docked to one of the map corners, showing the user where he/she is zoomed into. My content is all placed inside a <C...

I want to use a silverlight TabItem as a button container

I want zero functionality and appearance. I also want it to be all the way to the right of the tab strip. does anyone have any pointers as to how I can accomplish this? ...

Silverlight change color custom control programatically

Hi all, I have this Ellipse which I turned into a custom control so i could animate it programatically. However I am having trouble changing it's color. I know about changing a shapes color like this: aRectangle.Fill = new SolidColorBrush(Colors.Blue); However I cannot do this with a custom control. Anyone know how? Thanks. ...

First test of a Windows Phone application

I downloaded the Microsoft Visual Studio 2010 Express for Windows Phone and I wrote a simple application to make a first test of the emulator. In this application I have only a button with the property Content binded to a string called ButtonText and with the property Background binded to a SolidColorBrush named FillColor. I handled the ...

Silverlight Out of Browser (OOB) app crashing only on OS X

We have a Silverlight application that runs OOB (out of browser) so the user can install it. When it's running OOB we display a button that calls Application.Current.MainWindow.Close() so that the user can exit the application. This works perfectly fine on windows, but causes an error saying the application has quit unexpectedly on OS ...

Silverlight inotifypropertychanged

Can any one explain in detail how it works with a simple example. ...

Determine OS via Silverlight

How do you determine what OS is running a Silverlight OOB application? Thanks! ...

Silverlight 4 + WCF RIA - Data Service Design Best Practices

Hey all. I realize this is a rather long question, but I'd really appreciate any help from anyone experienced with RIA services. Thanks! I'm working on a Silverlight 4 app that views data from the server. I'm relatively inexperienced with RIA Services, so have been working through the tasks of getting the data I need down to the client,...

where to host my silverlight web application

hello everyone, I would like to host my silverlight webapplication. What is the best web hosting company for this application? Regards, ...

Disable cache in Silverlight HttpWebRequest

My Silverlight4 app is hosted in ASP.NET MVC 2 web application. I do web request through HttpWebRequest class but it gives back a result previously cached. How to disable this caching behavior? There are some links which talks about HttpWebRequest in .NET but Silverlight HttpWebrequest is different. Someone suggested to add unique dummy ...

The scroll viewer is not updating in silverlight

I have an image inside scroll viewer and i have a control for zooming the image and in zooming event i change the scale of an image ,as below : void zoomSlider_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e) { scale.ScaleX = e.NewValue; scale.ScaleY = e.NewValue; //scroll i...

call wcf asyncronously from silverlight

I write wcf with function which take enum as aparameter and having returntpe enum. how to call that from silverlight on the basis of combobox selected item. ...

Display dependent value on Pie chart legend.

Hi, I'm using Silverlight 4 + Silverlight 4 Toolkit (April 2010). I'd like to display the dependent value of my pie chart in the chart legend. I've tried styling the legend item however I do not know how to bind to the dependent value. Many thanks, Keith <Style x:Key="LegendItemStyle" TargetType="toolkit:LegendItem"> <Setter Proper...

Animated rich interactive backgrounds for Silverlight

Hey everybody, this is not really a question, I have just written an article on Code Project on how to create rich interactive backgrounds for Silverlight applications. This background reacts to a users mouse movements and causes a fluid animation of the background elements. ...

Silverlight 4 WebRequest, SSL and Credentials

Hi, I've got the following code: public void StartDataRequest() { WebRequest.RegisterPrefix("https://", System.Net.Browser.WebRequestCreator.ClientHttp); WebClient myService = new WebClient { AllowReadStreamBuffering = true, ...

Autocompletbox in Silverlight

I have a Silverlight 3 project I am trying to convert to Silverlight 4. I use the autocompletebox. I cannot find the correct namespace/reference for this in Silverlight 4. Has it moved? What reference do I need? Thanks in advance. ...