Skip to main content

Microsoft Silverlight

Advanced Forum Search Results

  • Re: Background color has no affect on canvas

    Fury, I did post a code snippet, and something filtered it and kept it from showing. Perhaps it is Silverlight.net webhosts worrying about cross-site scripting or something. The XAML code I was trying to post was written by Expression Blend, so it is probably correctly done anyway. Any suggestions on how to keep the website Gods from ...
  • Background color has no affect on canvas

    I have a canvas put quite a bit of work into, and when I went to add color, it does not change the color. (The background stays as "No Brush" even though I have added a brush. I have checked the XAML code and it appears okay, but for some reason this canvas will not allow me to change its color. Here is the snippet in XAML that ...
  • Re: This is probably a stupid question but ...

    There has to be a "right" way to do it though, I mean, VS does it. I wonder for example, if the code behind file statement is all that is required. I will check that out. But see what I mean, I want to understand what is going on.
  • This is probably a stupid question but ...

    The designer created an aspx file with the code already in it to launch the silverlight app. But there is no seperate codebehind file.  How is the right way to add a codebehind file (aspx.cs) when there isnt one.  I have tried several ways and none of them are ideal.  Thanks
  • Re: Re: Re: quad shape

    How about the length of the sides?  are the sides all relatively the same length, are they adjusted for the angle, are they too random?
  • Re: Web hosting strategy

    Thanks, I will check it out.  I do think once i get it locked down I might be able to use something like Amazon.
  • Re: Silverlight and Google

    Oh! Well, I didn't understand that your list of rules was only for a specific site. In that case, nevermind.
  • Re: Re: quad shape

    Use a Polygon instead of a line Use random to determine first three angles, insuring that together they are <  360 and allow the Polygon to close the fourth location back to start for you. Use trig to create the line collection used by the Polygon.
  • Re: Silverlight and Google

    [quote user="SharpGIS"] You do nothing that HTML can't do. Use Silverlight where it makes sense, and leave HTML to do what it does best. You cannot select and copy text. Can't ctrl+click to open links in new tabs. [/quote] I think there are many things one can do in Silverlight that are unrealistic to try in html, ...
  • Getting started with Animations

    I want to have a generic animation and apply it in code to various objects.  For example, I have a number of Polylines and I may want to animate one of them. How do I write one animation which will work for all of them?  I want the polyline to "bend" according to a set of rules. 
1 2 3 4 5 Next >
Microsoft Communities