OK, so the situation is I'm defining an ItemTemplate for a ListBox in a ResourceDictionary (Styles.xaml). The ListBoxItem Template looks something like this:
<ControlTemplate TargetType="ListBoxItem">
<Button Command="{Binding Path=DoSomeCommand}" Content="Test" />
</ControlTemplate>
Now wherever this template is used, I'd like ...
Is there any way to use the VisualStateManager with my ChildWindow subclass? Calls to VisualStateManager do nothing, and the googling I did implied the only way to achieve this is with manual calls to Storyboards. That's so much sloppier and prone to error. Has anyone found a way to achieve it?
Updated with example code. To use it, just...
Does anyone know what this error means? I get it when I try to page past page 80 if I have more than 161 pages in a DataGrid.
System.InvalidOperationException: Cannot Change currency when an item has validation errors or its being edited and AutoCommit is false
...
I'm having a problem with my dependency property. It seems like it doesn't want to work at all, and I don't know why. Here is the code for my dependency property:
public static readonly DependencyProperty CheckBoxColumnVisibilityProperty =
DependencyProperty.Register("CheckBoxColumnVisibility", typeof(Visibility), typeof(Computers...
Any examples on styling the ChildWindow in Silverlight 3.0 to look like the Windows 7 Aero glass windows?
I've tried changing the background etc., overlaybrush, and overlayopacity properties, including enabling the RootVisual since it is disabled whenever a child window is shown, but no luck so far.
Any examples or suggestions would be...
I'm creating a silverlight user control that I should be able to drag and drop via blend. But this control needs to accept a map that is already on the page.
For eg.
Main.xaml contains a map control.
MapEditor.xaml contains buttons and other controls. In the .cs file, it needs to access a map control (the one in Main.xaml).
How do ...
Ok, I understand that this is a fairly common question to ask. But I'm not asking if it's possible with just a browser, JavaScript, and CSS because I know it's not.
I want to be able to have some method of having the page print to a specific client-side printer.
Let's say we have page X and Y. On page X I want it to print to printerX ...
I like to know difference between Silverlight and JavaFX. Anybody help me.
...
I'm wondering if this is possible to be done either in JavaFX / SilverLight:
Download an MPEG1 file from a remote server and then convert it to MPEG4 using the client's processing power (to reduce load from server)..I suppose this would be running as an applet on the browser, but my question is, can this be done using either of those te...
I am trying to create the simplest Silverlight templated control, and I can't seem to get TemplateBinding to work on the Angle property of a RotateTransform.
Here's the ControlTemplate from generic.xaml:
<ControlTemplate TargetType="local:CtlKnob">
<Grid x:Name="grid" RenderTransformOrigin="0.5,0.5">
<Grid.RenderTransform>
...
Hi,
Im trying to consume a WCF service in silverlight...
What I have done is to create two seperate assemblies for my datacontracts...
Assembly that contains all of my types marked with data contracts build against .Net 3.5
A Silverlight assembly which links to files in the 1st assembly.
This means my .Net app can reference assembl...
I would like to develop a web conferencing system (or web classroom) as a graduation project using Silverlight similar to
iVocalize
which is a java applete .
I don't know if what is possible for a java applete to perform on the PC is also possible for Silverlight, or is SL more restricted.
There are two functionalities (which are r...
I'm having trouble with my Silverlight Chart. My model is unsorted, that is, the sorting is done on the server side. It needs to support year transitions, but as you can see from the screenshot the charting control automatically sorts the model and fills in the gaps. The line sort be ever increasing and not taking a dip on new year.
How...
I am working in SL version 2.0
I have 3 radio buttons in a group and 3 user controls that I want to load based on the selection of the radio button. How can this be done? What options do I have?
I was thinking about adding the user controls in the same xaml file as the radio buttons, and make them all invisible. Then on the code behind...
The x-axis in my chart is a date value. The y-axis is a positive integer. My dataset typically has lots of points over one or two days and then no data for a month or so. Then another two days of lots of activity, then another extended period of inactivity.
There's no pattern really to the data in terms of how long the periods of activi...
I'm trying to add & remove an event handler from a Silverlight FrameworkElement, but I just can't get the syntax correct.
I want to do something like this:
let clickedEventHandler = fun args -> printfn "Click!"
fe.MouseLeftButtonDown.AddHandler( clickedEventHandler)
...
fe.MouseLeftButtonDown.RemoveHandler(clickedEventHandler)
What s...
I am looking for a good book on Silverlight 3, for myself and my development team. We are all experienced .NET developers, but with virtually no exposure to Silverlight.
This site on Silverlight.Net lists the following books on Silverlight 3 development -
Silverlight 3 Programmer's Reference
by J. Ambrose Little, Jason Beres, Grant ...
I am just wondering how companies make money by offering free RIA application development platforms.They invested lot of money & human resources to create & improve those platforms. Of course no commercial company does that for free, there will be some sort of strategy. But How Microsoft makes money out of silverlight? How Adobe makes mo...
I have successfully created a WCF RIA service by creating DomainService class and accessing the oracle database using ADO.NET. However creating a domainservice using ADO.NET seems to have limitations when compared to creating a domainservice using entity framework in terms of efficient sorting, paging of huge tables(more than 5 million r...
Within a Silverlight 3.0 application I want to use the AssemblyFileVersion to display the version information of the application. This is not the same as the AssemblyVersion and is typically retrieved in a .NET application using code such as:
var executingAssembly = Assembly.GetExecutingAssembly();
var fileVersionInfo = FileVersionInfo....