No matter what I change the Background property to in a button it hardly changes, what am I supposed to do if I want a completely different colored button?
I know I can do this via editing a template of a button, but this seems like overkill.
...
Since the launch of Silverlight 2 I was expecting a lot of full blown Silverlight applications popping up but still there seem to be little evidence of this. Does anybody know of such applications out there in the wild. And also what would be the obvious applications you would develop in Silverlight. I would say mail clients are bad exam...
I have object1 as a child of a Canvas. object1 has a MouseLeftButtonDown event handler which captures the object.
object1.CaptureMouse();
While still holding down the left mouse button, I move the mouse over object2. In code, how do I find out if the mouse is actually over object2 (or determine whichever object it is currently over)?...
I have a datagrid and had the idea of including a comboBox in the header with distinct values for the column it's in - see xaml snippet below of the combo. However I have no idea how to populate / bind to the combo. Apparently silverlight best practice is to avoid "searching" the control tree for "x:name"s and instead setup a data stru...
I am fairly new with silverlight and I really find it cool. I have a question about how it runs the code client-side tho..
Say for example, I have a site that calculates a certain amount based on user inputted amounts. This of course I would love to do client-side. The catch though, is that the formula used for the calculation is propri...
I've seen a lot of links to MSDN and "works on my machine!" answers so I'd like to ask my question with the exact steps to duplicate what I'm doing. Because we are using an already existing webservice, I'm asking with the context of having a webservice hosted outside of my project, unlike many of the tutorials and videos online. So here ...
Has anyone encountered such a beastie? I'm thinking about a tree-like display, database, login and registration etc. Ideally ready to bake as time is short.
Ideally BSD or similar license but if neccessary might persuade the beancounters to cough up some beans.
Alternatively if anyone is interested in creating something please comment
...
For WPF/Silverlight layout, is it better to use a Grid with lots of rows and columns, or tons of Stackpanels?
...
When you create a Silverlight app using:
<asp:Silverlight id="SlApp" runat="server" Source="~/ClientBin/SLApp.xap" MinimumVersion="2.0" />
is there a way to pass in custom information (like a string) so that it can be accessed inside the Silverlight app's C# code? Like inside the Silverlight's App() constructor?
Thanks,
Jeff
...
What is the really minimal example of Silverlight application?
For example, I made the following example with IronPython:
from System.Windows import Application
from System.Windows.Controls import Canvas, TextBlock
canvas = Canvas()
textblock = TextBlock()
textblock.FontSize = 24
textblock.Text = 'Hello!'
canvas.Children.Add(textblock...
I would like to use a transparent png file on a silverlight button. In addition I would like the button itself to be transparent so the background (behind the button) shows through. I find that if I set the opacity of the button it also affects the image. I don't want the entire image to be transparent - just the transparent parts of it ...
I currently have a Silverlight canvas that exceeds the viewable area of the screen (I'm letting the users drag the viewable areas around to navigate). I'm trying to display a modal popup that always shows up in the middle of the viewable area, and I can't seem to find any property that tells me what currently is on the screen. Basicall...
I have a Silverlight application that communications with an ASP.NET backend through WCF. I have a set of DataContract objects that I defined that (for the most part) match my LINQ to SQL generated types that my ASP.NET backend works with. My WCF code generates instances of my DataContract objects from LINQ to SQL generator types when I ...
I'm trying to use the WebClient class to download a html file from another website and present it as a text stream, But I'm getting a security error, what am I doing wrong, or is this another one of Silverlights security "Features"
[code]
namespace ImageScrape
{
public partial class Page : UserControl
{
public Page()
...
I am starting to put together a system architecture document for a new project at my company. Basically we have a rather large business layer that follows the enterprise library data pattern, and i will need to access these data objects from a new silverlight application.
My question is what is the best way to gain access to these objec...
I have a Silverlight 2.0 project that allows a user to add text and images to a canvas. They can move, rotate and resize the text/images. I was wondering the best way to serialize the Silverlight objects to a database and also be able to generate a PDF of the canvas to be printed.
I've read some articles about calling a web-service ...
I have a WPF RichTextBox that is dynamically built in a WPF web service. This web service accepts a xaml string that is extracted from the contents of a third-party silverlight RichTextBox control.
<Paragraph TextAlignment=\"Left\"><Run FontFamily=\"Comic Sans MS\" FontSize=\"16\" Foreground=\"#FF0000FF\" FontWeight=\"Bold\" >This text...
Hi all,
I've been scratching my head on this one for a while now and am stumped at the moment.
The problem scenario is easier to explain as code so hopefully it speaks for itself. First of all, I have a silverlight application with the following in the XAML...
<UserControl x:Class="SilverlightApplication2.Page"
xmlns="http://schemas.m...
I am learning Silverlight and WPF on my own to expand my programming base. I am following this tutorial, and I am currently stuck on part 3. I am up to the point where my application requests and receives a response from digg.com, but I cannot figure out how to properly dimension the XDocument class (as the tutorial shows) to read the x...
Hey all,
I am working with another coder on a website that is accessing SQL Server (2008 Express) through some web services he created (involving mostly LINQ to SQL), and the UI is in Silverlight. I've been working on another part of the system, but just got his latest code, and am trying to run it on my machine, but am getting an erro...