Hello,
After much searching on MSDN and other sources I have basically found that "some" Dependancy Properties do indeed support property value inheritance similar to WPF. However, as far as I can tell, there is no definitive list of which properties do, and which do not. I know Font properties, for example, do; yet HorizontalContentAli...
We're building a Silverlight application which will be offered as SaaS. The end product is a Silverlight client that connects to a WCF service. As the number of clients is potentially large, updating needs to be easy, preferably so that all instances can be updated in one go.
Not having implemented multi tenancy before, I'm looking for ...
Hi,
Very recently i have been given a facebook like project to develop for a client of mine.
Most of the time when i comes to web development i use php since the solution PHP, apache, MySql which are all freely availble solutions, i have been thinking about using sliverlight to develop th web application, and i would like to hear some p...
Hello,
I have a problem to access SharePoint Webservice over Silverlight.
An error occurred while trying to make a request to URI
'http://sample:8000/_vti_bin/Authentication.asmx'.
This could be due to attempting to
access a service in a cross-domain way
without a proper cross-domain policy
in place, or a policy that is
...
I have the feeling that Flash-based ( or Silverlight-based) websites are generally frowned upon, except when you are creating games or multimedia-content rich applications. Why this is so?
...
It looks like the width of a child silverlight control is always clipped by the width of the container. Even if the child control is rotated.
This first "chunk" of XAML will render a Button that is too large for a stack panel and is clipped, this makes sense.
<StackPanel Width="20">
<Button Width="100" Content="Foo" />
</StackPane...
I created a custom control in XAML, and added some custom properties as well. Now, I want to serialize it to JSON if possible. Here is (essentially) what I have:
public partial class MyCustomClass : UserControl
{
public Dictionary<char, int[]> ValueMap;
public int Value { get; set; }
}
And in the code that handles serializatio...
I am trying to put all the pieces together for my MVVM Silverlight application and I see some blogs touch on Service Locators.
What is a service locator and when should it be used?
...
I have a Silverlight menu for my application with an image as the background. I use some empty HyperlinkButton at a specific position and size to simulate a real button on the image (think as a HTML image-map):
<HyperlinkButton x:Name="Portfolio" Width="86" Height="40" Canvas.Top="50" NavigateUri="/portfolio"/>
<HyperlinkButton x:Name="...
Quick intro: I have some Silverlight 1 content that people have been editing and putting into HTML pages. Unfortunately, this means a lot of repetative creation of Storyboards, etc. We can use Silverlight 2, but not everyone here is familiar with C#/has Visual Studio. What I would like to do is create some custom controls in C#, output t...
Hi, there is my first time on Stack Overflow, thanks in advance for any help I get.
I've been using the BitmapImage.DownloadProgress event to wait until the image is loaded when creating a bitmap from a URI. That was I can use an event handler to check the Image.ActualWidth/ActualHeight after the download is complete. This works fine.
...
I have an ItemsControl bound to an ObservableCollection. When the observable collection changes, I have an event handler that looks at the children of the ItemsControl. Unfortunately, the ItemsControl hasn't yet added a new item at that time (which is understandable). How can I know when an ItemsControl has finished adding new child cont...
I have written a custom Silverlight control based on Control. I have two DependencyProperties called Top and Bottom which both hold child controls for a specific layout display. I then use a ControlTemplate to arrange these two controls into a grid, placing one on the 0 row and the other on the 1 row. The problem I have is that I cann...
In general, which performs better? How are they like when processing vector graphics?
...
I'm reading Silverlight 2 Unleashed, published in October 2008 and it has examples in it with a root canvas tag:
<Canvas xmlns="http://schemas.microsoft.com/client/2007"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Background="Red"
Width="500"
Height="300">
<Ellipse Width="400"...
However when I create a...
We have a silverlight application from which we are trying to open a zip file which is placed in a CD.Can any one tell how to open .zip files from local path of CD from SilverLight control.
Thanks & regards,
Sheetal
...
If I use a custom panel to layout my ListBoxItems, the ListBox won't respect their combined Height (it does respect their combined Width though) - even when my ArrangeOverride returns a size that surrounds all the items.
Setting the ListBox's Height explicitly makes everything work, but I want it to work that out for itself!
Has anyo...
Hi,
I am trying to integrate silverlight into my ASP.NET app, and want to let my users view any arbitrary XPS document in my wep app.
I am looking for any robust Silverlight XPS viewer control for this purpose. I have read some blogs on the "simple xps" viewer and all that, but the best one i have seen so far uses textblock to render t...
Hello,
I'm planning to make an animation with Silverlight, i want to export the animation to a video format, to be able to share it on video sharing website.
How can i do this ?
...
Does anyone know if it's possible to access a DataGrid column by using it's x:name (as defined in the xaml) from within the code behind ?
I know I can use the following code :
myDataGridList.Columns[0].Header = "Some Data";
..but I would prefer to use something like this if possible:
myDataGridList.Columns["ColumnName"].Header = "So...