Hi,
Recently, my question here was answered. Now that I've got my XML all parsed and looking pretty, I've got another question about my application I've been banging my head against a wall over the past few day(s).
The XML is used to automatically add Artist names to a listbox. What I want to do is provide links to Amazon searches fr...
I have a .net assembly referencing a Silverlight assembly. The silverlight assembly defines an interface that uses IQueryable. I want to implement this interface in the .NET assembly, but it says I am not implementing the IQueryable method (even though I am). I think this is happening because the interface is using the silverlight IQu...
Hi,
I am developing a Silverlight 3 application, in which I have a boolean property in my Model class (using MVVM approach) that's bound to "IsEnabled" target property of two buttons. I need to find out which button invoked this boolean property when I raise the PropertyChanged event (i.e. during databinding).
Is there something in the...
I've got an ObservableCollection of POCOs (Plain old CLR Objects) that I want to represent in a tabbed idiom. Prefereably using the MVVM pattern, is there a way to bind the collection of TabItems to the count of my POCO collection?
So, in this case if there are 3 items in my collection, I'd like to see 3 TabItems. Each TabItem would c...
I might need to visualize a B-Spline ( http://en.wikipedia.org/wiki/B-spline ) in .NET. I do not where to start. Is there any easy way or library to do it? I would prefer to do it in Silverlight but WPF and Win Forms is also fine. I imagine the software as a coordinate system with some control points that you can add, delete or move arou...
How can I disable the copy and paste functionality in a Silverlight textblock?
...
I am using Silverlight to develop an application that we anticipate will be used heavily on touch screen monitors in the healthcare setting. I am finding that simple controls like Button, or even simpler primitive controls that I've written myself to capture mouse events, are very flaky and unresponsive on an HP Touchsmart. Many times ...
I am using IE and firefox, this is the default statement that was created using a default asp.net tag.
This works perfectly fine with IE but with firefox, nothing is rendered.
<%@ Page Title="" Language="C#" MasterPageFile="~/Core.Master" AutoEventWireup="true"
CodeBehind="photoalbum.aspx.cs" Inherits="mkuk.photoalbum" %>
<%@ Regi...
I need to be able to zoom in and out of a Canvas using the mousewheel. I have successfully set up the mouse wheel handlers and am currently using a ScaleTransform to apply the zoom; however, the scaling is not done in an "intuitive" way.
I'm trying to accomplish the same style of "zooming" as you can see in MultiScaleImage, Google Ma...
Does anyone know how to use Windows Media Photo (.wdp) in silverlight? There is the WmpBitmapDecoder class for regular wpf applications, but I don't see anything like that when I create a silverlight application.
Are there any alternative image formats that might be better or easier to use?
...
void myButton_Click(object sender, RoutedEventArgs e)
{
var oContext = new DomainService1();
var oResult = oContext.GetPersistMapSet();
oContext.LoadPersistMapSet();
foreach (PersistMap oMap in oResult.ToArray<PersistMap>())
MessageBox.Show(oMap.Data.ToString());
}
http://screenc...
I was wondering if there are any features in Silverlight 2 or 3 that aren't documented or are hidden very deep in the framework? Stuff that can be very helpful in some cases, but can be a pain to find. Are there any "hidden" gems?
I'm thinking about stuff you normaly don't find in tutorials and in demos. For example, finding information...
Hello everyone,
Here is my Siverlight Grid script, I want Media Element mediaPlayer to occupy left half of the whole Grid space, and want Media Element cameraPlayer to occupy right half of the whole Grid space. But my following code does not work quite well (I have set related Grid column/row value), two Media Elements play overlap.
An...
Hello everyone,
For the popular video player, like sl2videoplayer, http://www.codeplex.com/sl2videoplayer, my question is how is the thumbnail image of Siverlight video is displayed before we click play (in the scenario of non-autoplay).
thanks in advance,
George
...
How do I databind a single TextBlock to say "Hi, Jeremiah"?
<TextBlock Text="Hi, {Binding Name, Mode=OneWay}"/>
Looking for an elegant solution. What is out there? I'm trying to stay away from writing a converter for each prefix/suffix combination.
...
I've been doing a prototype in WPF without using MVVM. It's got to such a size now that I'm refactoring it to use MVVM.
When I started the project, I jumped straight in and created UserControls for lots of things.
I'm now breaking things in Views and ViewModels. But, I'm ending up with Views that contain UserControls; the UserControl...
Hi, im developing a silverlight 3 beta navigation application, so i've gone with a slight variation of the MVVM pattern :) (all-in-one viewmodel), using prism, and stuff.
Question: How do i navigate to a different "NavigationPage" in the viewmodel
Now to cut a long story short, the viewmodel is declared as a page resource.
<navigation...
In .Net it is possible to iterate through an enumeration by using
System.Enum.GetNames(typeof(MyEnum))
or
System.Enum.GetValues(typeof(MyEnum))
In Silverlight 3 however, Enum.GetNames and Enum.GetValues are not defined. Does anyone know an alternative?
...
Using Deepzoom Composer creates a nice ClientBin and a nice HTML page that works in HTML.
Using the Deepzoom API, I can create the processed pyramid images and some metadata in some xml files and that is all. So now, once I have those images and the metadata, which is half the battle, how should I go about building some Silverlight a...
In Silverlight, How do I make a TextBox with IsReadOnly="True" not become grayed out. The gray effect looks horrible with my app and I would like to disable it, or change its appearance/color.
...