Hi,
I have a Silverlight 4 desktop application which I control using a touchscreen
(on an HP Touchsmart).
Most of the time it works fine but sometimes when clicking something everything
just zooms in and every time it happens things get bigger and bigger.
The only way to get the normal size again is by restarting the application.
Ha...
Hello,
I have a UIElement that I want to capture a snapshot of when a user clicks a button. When a user clicks the button, I want to take the UIElement and load it's current state into an Image element. How do I render a UIElement as an Image?
Thank you!
...
After Silverlight 4.0 has been released with new WPF, I am kind of confused with these technologies: Silverlight? WPF? Windows Form?
The main motive that we want to achieve for BIG business project is following:
Performance
Security
And platform independent**
If I consider all above three points then only Silverlight is the option a...
Hey Stackoverflowers :)
For our Silverlight Project (SL4) I'm using a Model which might contain Lists (IList<AnotherModel>). According to good practice and rule CA2227:CollectionPropertiesShouldBeReadOnly
the IList properties don't have a public setter. We serialize the Model using the DataContractSerializer which is working. But when ...
When I release a custom control which works in both Silverlight 3 and Silverlight 4 is there any reason to provide a separate binary version targeted at Silverlight 4?
As far as I understand SL4 apps using SL3 controls run normally in SL4 mode but maybe there are some hidden benefits of recompiling controls for SL4 (or gotchas of not d...
Hi,
I'm trying to add a new property to a Silverlight 3 custom control of mine. An int property works perfectly, but if I change it to a long or an int64, I've got a xaml parser exception on runtime.
Do you know if it's a known restriction in SL3?
C# side, new control:
public class myExtTextBox : TextBox
{
public int MaxNumericVa...
I want to show a different icon/image depending on an enum value. For example, if I had the following enum:
public enum UploadStatus
{
Unknown = 0,
WaitingToUpload = 10,
Uploading = 20,
Uploaded = 30,
UploadFailed = 40
}
I'd like to write XAML that looks something like this:
...
<EnumImage Value="...
I am working on a Silverlight application that is supposed to work with dtaa provided by the Amazon Services. I'd like to make a search field that provides Google-like autocompletion. I have the basic idea behind that, but I need to know whether the Amazon API could return a list of books based on a few characters entered in the search f...
I'd like to see if anyone out there can steer me in the right direction for linking up a Silverlight project with an MVC2 one. I know how to get it started but how do I get the .xap to show in the View? Looking for a good tutorial or blog?
...
Hi all,
I tried to create a custom tabitem on Silverlight, but when i run it, it's complaining Unable to cast CustomTab to TabItem.
I am not sure how to fix that, any idea?
Thanks alot
...
I have a property of datattype enum : like
public BreakLevel Level
{
get { return level; }
set { level = value; }
}
And enum defined :
public enum BreakLevel
{
Warning, Fatal
}
I want bind the neum property to the visibility of my border , somewhat like this:
Visibility="{Binding BreakLevel.Fatal}"
so is...
In the list of new features in Silverlight 4 you will find following:
Webcam and microphone to allow sharing of video and audio for instance for chat or customer service applications.
Silverlight captures an audio stream as raw pcm. So how would you realize for example audio/video chat or client/server audio recording application ...
I am working on Silverlight 3.0 and currently using code-behind in my Views. I would like to implement the MV(VM) pattern into my project as the project is growing. I have seen some WPF projects where the code-behind has NO CODE except for the InitializeComponent method, which I believe is the right way to go and just looks clean. Is ...
I'm trying to access a MySQL database through Silverlight, and I know you can't do it directly, but the only way I know of is to use a WCF service. This won't run on the server I have, is there any other way to access the database (through PHP maybe)?
...
Created a simple Silverlight 4 application (SimpleApp) then added a Silverlight 4 library (LibraryA). Added code to the library (LibraryA) to implement MouseOverBehavior by inheriting from CommandBaseBehavior along with the appropriate attached property class/methods. Added reference in SimpleApp to LibraryA and went to MainPage.xaml to ...
Hi,
I want to display a child window that contains a combobox with several values coming from one of the child window's property:
public partial class MyChildWindow : ChildWindow
{
private ObservableCollection<MyClass> _collectionToBind = // initialize and add items to collection to make sure it s not empty...
public Observabl...
This is my first silverlight Application.
I am trying to use Rating Control from 3.0 Toolkit with VisualStudio 2008
Here are the problems:
I am unable to see designer view after adding Rating Control and few other controls. I am not getting any errors or warnings on markup or while compiling.
Trying to access Property window for any ...
In VS2010, Silverlight 4, .NET 4, I've got a WCF service and a Silverlight app, and Silverlight is accessing the class not with Add Service Reference but by sharing the contract. Naturally, this means I have the contract in a Silverlight class library, and the service has a project reference to that library.
Strangely, this results in a...
Hi there
I have a silverlight application in vs2010 and iam using silverlight 4.0. I have to show a videoppt in which a video is synchronised with images and it runs as a video powerpoint presentation. Is it possible to preload the images or cache them, so that they get rendered as soon as the video starts. If there is a way out, plz gu...
I'm working on re-writing a WinForms application into Silverlight. One use case in the WinForms app allows users to drag TIFF images (of faxes) from Outlook directly onto an "attach an image or fax to this case" control in the WinForms app. Is there a Silverlight 4 control which allows for the same functionality? It's important to realiz...