I am trying to port a WebForms app to Silverlight, this application is using the GDI Graphics class to draw polygons to a in-memory bitmap, it will then do pixel by pixel comparisons so I need access to the pixel buffer.
Example:
Graphics g = Graphics.FromImage(bmp);
g.FillClosedCurve(brush, points, FillMode.Winding);
I have...
I've got a datagrid with one button in each row (xaml shown below). I'm trying to get rid of the blue highlighting functionality where it highlights the selected row, and the
row with the mouse over it. I'm trying to seit it up so you just click on the button without getting the row selection and mouseover highlight functionality. I tr...
In my custom button I need to show that it had focus(provides some tactile feel to tabbing to the button) and show that its pressed but what I have found is my focused state is displaying rather then my pressed state. How can I correct this. I would like to have mouse over to pressed not mouse over then focused(when the button is cli...
Hi,
I got a datagrid in Silverlight. I would like
the datagrid (or usercontrol that
contains the datagrid) to post to the
server when the user edit a cell in the gird.
to signal to the datagrid using some symbol in the cell edited (like a loading-symbol) that a post is sent to the server and the control is waiting on a response.
to si...
Can we use Java in Silverlight?
...
In Silverlight, when you want to create a control dynamically, you must add the namespaces like this (as in http://msdn.microsoft.com/en-us/library/cc189044(VS.95).aspx):
XNamespace xmlns = "http://schemas.microsoft.com/client/2007";
XElement textBlock2 = new XElement(xmlns + "TextBlock",
new XAttribute(XNamespace.Xmlns + "x...
I have a usercontrol, and I want a storyboard inside the user control to fade the user control out. Using Expression Blend, I can create the storyboard and cause it to fade the user control out, but when I run the silverlight application I get an error on FindControl stating that it can't find the control. I'm guessing the find control...
When I move .xaml and .xaml.vb files to a new Silverlight project, the generated .g files no longer include members for the x:Name attributes defined in the xaml file. This means the code-behind files can't refer to those members and cannot build.
...
Silverlight has been available since quite some time, and Silverlight 2 allows .Net programming on the front-end. I've been thinking about the apps that I can make using Silverlight, but I can't decide if I should go for development in Silverlight because i am still concerned about accessibility and acceptance.
What potential do you see...
Is there any way to render a Silverlight text to a path or graphics object at runtime? I know this can be done using the design tools, but I want to be able to do this on the fly.
I've seen an example that calls a webservice which uses WPF constructs to convert a WPF FormattedText object to a PathGeometry, but those objects aren't avail...
I find that Resolution Randomizer (http://resolutionrandomizer.pop.us/ecard.aspx) is quite interesting. It has a rolling effect when you click the "Randomize" button.
I'm really new to Silverlight and I wonder how it is implemented. I'd like to add some similar effect to my project. Anyone has some scripts I can refer to?
...
We are considering developing a streaming video website, like Youtube. What are the technologies available, and how to leverage them?
I know that clients like Adobe Flash Player, Silverlight etc can be used to play the streamed movie, but my concern is more or less regarding the server architecture, encoding etc. Please help.
Right now...
As far as I can see silverlight only supports streaming over http even in version 2, as I understand it mms is converted to http and therefore you cannot stream RSTP (I have tried to test this and get network errors unless I stream http).
Does anyone know if RSTP is going to be supported in Silverlight or if it is and how?
Thanks
P
...
I have a Silverlight Project which passes data using the Data Contract to a WCF service. The WCF method then invokes a BAL class which again has the same properties. Is there any way to avoid this duplication of properties ?
Thanks,
Chak.
...
I know that WPF 3.5 SP1 supports a StringFormat in a binding, but can Silverlight do the same? I thought it could, but damned if I can make it work!
Here's a snippet of my XAML:
<TextBlock Grid.Row="0" Grid.Column="1" Text="{Binding StartTime, StringFormat=t}" />
It compiles OK, but I get a runtime error when it gets to the browser.....
I am trying to export some prepared assets out of Expression Design 2 and into .XAML, with a final destination of Blend 2 for layout, but I cannot find a reliable way to keep the ability to resize those assets when they reach Blend. Taking a look at the exported final product, the XAML produced is wrapped in a Canvas (whether or not I se...
Hi,
I'm working on some charting controls for my ASP.NET web app.
I am aware of visifire and the Silverlight charts MS now provides. My requirement came before I knew about these and their releases and I'm intending to write charts that are as good as Dundas or ChartFX (or is it SoftwareFX?).
Anyway, as the logic is the most logic-int...
The HtmlObject provides all the necessary functionality to register managed event handlers for script and DOM events, but what if the class you need to listen to doesn't exist as a DOM element, but a scripting variable (referenced via ScriptObject) instead?
...
What's all this business about Flash, Flex, Adobe Air, Java FX and Silverlight? Why would I choose one over the other? and what happened to Java Applets and ActiveX controls?
Oh, and where does AJAX fit in to all this? and is Laszlo relevant?
Afteredit (in response to some "d'uh" type answers): the question is a bit tongue-in-cheek. I ...
I'm trying to create a UserControl that inherits from a generic class. It does not directly inherit from a generic class, but through an intermediate class that does not use generics. This compiles and works at runtime, but I get an error at design time.
Here's my generic parent class:
Public Class GenericParent(Of T)
Inherits Us...