I'm installing a programming environment for Silverlight and trying to straighten out what needs to be installed, feedback is appreciated:
At http://silverlight.net/GetStarted, point number one allows you to install "Silverlight Tools for Visual Studio 2008 SP1". The book (Silverlight 2, Wiley) that I am reading seems to refer to this ...
We currently have a quite complex business application that contains a huge lot of JavaScript code for making the user interface & interaction feel as close to working with a traditional desktop application as possible (since that's what our users want). Over the years, this Javascript code has grown and grown, making it hard to manage &...
This works great:
<my:DatePicker IsTodayHighlighted="True" Width="200">
</my:DatePicker>
But I want to format the date, something like this:
<my:DatePicker IsTodayHighlighted="True" Width="200" Format="yyyy-mm-dd">
</my:DatePicker>
Anyone know the syntax for this?
...
When I run my Silverlight app, this code doesn't play a video at all:
<MediaElement
Source="winvideo-201DataGridPreview.wmv"
AutoPlay="True"
AudioStreamIndex="2"
Margin="10"
Height="200"
Width="200"/>
From all of the examples I can find of MediaElement, it seems to be the correct syn...
I am working on a drawing-based product where I want to produce versions for iPhone, desktop OS/X, Windows Tablets, Silveright-based browser, Windows Mobile, and Windows in that order of priority.
For GUI portability, the classic answer is to keep the core in C++ and use Cocoa/Objective-C or WPF/C# thin layers.
However, Silverlight com...
Hello,
I did my first Silverlight 2 application and what annoys be is that text-fonts looks blurry or ragged.
You can see it here:
Is that a 'feature' of SL or I'm doing something wrong?
I know that SL2 uses a few fancy techniques to make applications device-independed but this fonts aren't acceptable (i'm using Vista with Aero )....
I've written a Silverlight application that does not scale when I change from 96 dpi to 120 dpi The text and graphics does not change physical size on the screen as measured by a ruler. I've read in various places that Silverlight should adjust to changes in DPI configuration. The non-Silverlight portion of the web page scales as expec...
I want to create a "FlipPanel", which provides two different views of the same object. Here is the approach I am taking.
This is the main page, which consists of an ItemsControl whose ItemTemplate is a FlipPanel. The FlipPanel exposes two properties which define the DataTemplate to use for the Front and the Back.
<UserControl.Resou...
What's the best way to add children to a WrapPanel in silverlight? I'm using C# and I'm reading in a JSON Object containing images with thumbnails and related information.
The end goal is to have a grid of thumbnails (13 thumbs horizontally across 950px by 6 thumbs vertically).
...
I've been working in Silverlight recently and I've slowly been discovering that as simple as it can be to develop, there are one or two annoying gotchas that lurk in the shadows.
Considering how difficult some of these have been to track down for me, I thought it might be useful to list them here on SO for others to benefit from. I'm su...
In Silverlight I noticed that the code-behind Page class inherits from UserControl:
public partial class Page : UserControl
In WPF the code-behind Page Class inherits from Page:
public partial class Page1 : Page
I was thinking that Silverlight, being a subset of WPF, you would be able to copy large blocks of Silverlight code into W...
I'm aware that in WPF you want to keep the sizes of controls as flexible as possible so that they can flow and expand depending on their context (like in CSS).
But most of the code examples I come across are hard-coding sizes like the heights in this example:
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0.5*"/>
<ColumnDefi...
EDIT: I started a closed vote on this question because I resolved the issue. I was doing everything fine, but a reference to an ASP URL rewriter that I downloaded and uninstalled a while ago still had a reference in IIS. This forum post by Waclaw Stypula (the one with the steps) helped me track this down, by accident. When I launched t...
I haven't had a chance to look at VS2010. Is there a built-in Microsoft Grid for WPF or Silverlight yet?
...
I have an ObservableCollection feeding a DataGrid thats updating nicely.
The point: I want to filter (collapse) the rows without removing them from the collection.
Is there a way to do this, or place a view on the Grid like normal .Net?
...
I'm working on a Silverlight app using the MVVM pattern. My ViewModel currently consists of a property that represents a collection of Model Objects:
public ObservableCollection<IndexEntry> IndexList
{
get;
set;
}
it also has several methods that will populate that collection with data that comes back from a web...
I have a large silverlight application, and we have decided to redesign the whole interface. Since it is a good time to polish some issues, I would like to read some xaml good practices to take into account when designing.
Does anyone know of a good silverlight (or even WPF) book or guide to read about xaml? I'm not looking for a tutori...
I'm building a project that loads data from a webservice into a TreeView Control. When the TreeView is contained on the LayoutRoot grid by itself and it's height is set to Auto, if the contents extend beyond the vertical or horizontal limits of the treeview scrollbars appear automatically, as expected.
If that same TreeView control is ...
I have several databound comboboxes in my application and I notice that when i open the combobox to click on an item it doesn't select the item unless i click to the right of the text. I'm assuming there is some way to include the text area as part of the item in terms of making a selection. Any help would be appreciated.
...
Im trying to write to a form from an asynchronous call. The examples I seen on line show that this should work but I keep getting an error.
First the call that is made though the Disbatcher never calls p. Second i get a System.Security.SecurityException on the call req.EndGetResponse(a);
What could be causing the problem?
public parti...