Advanced Forum Search Results
-
With the release of Visual Studio 2010 beta, has anyone heard about when we can expect support for C# 4 with Silverlight? Honestly the only thing that has me really interested in the 'dynamic' keyword of C# 4 is the possibility of trivial integration between Silverlight and javascript. I'm hoping this will come with a later ...
-
I derive from ContentControl. I have a TemplatePart that defines the root visual, and when my ZoomFactor property changes, I update the root visual's RenderTransform to the appropriate ScaleTransform.
-
Here's my workaround for this. This will make all items default to stretch alignment, but you can still override that behavior by adding an AutoSizeListBoxItem with a different HorizontalContentAlignment or VerticalContentAlignment.
Add these two classes to your project and use AutoSizeListBox instead of ListBox.
public class ...
-
In case anyone else runs into this, my workaround for this is to manually add project dependencies to the referenced projects by editing the solution file in a text editor. This could end up being a bit of a maintainability issue, so hopefully the issue can be fixed soon.
-
I have a Silverlight Application that references a Silverlight Class Library. I am attempting to get continuous integration set up, but I have found that the project does not build in the correct order when I build from the command line using MSBuild. The build log shows that the application is built first, then its dependencies. ...
-
I ran into this same problem and the way I solved it was to disable the entire page (or dialog in my case) before removing it from the visual tree. This works great in the final version of Silverlight since they added IsEnabled to the Control class. In my case I have a closing animation, so the control is now disabled during that ...
-
When I scale down an image using the Image control, I often get frequency aliasing effects. Is there any good way to support supersampling or other resampling techniques in Silverlight?
-
FYI this no longer appears to be an issue in Silverlight 2 RC0.
-
[quote user="Markusss"]
He's using the storyboard here, but you can also use a timer (same effect).
[/quote]
Actually this is the key difference in my experience. Using the empty storyboard trick drastically improved the performance of my loop over using any sort of Timer.
-
FYI there is a port now under way of Unity and Composite WPF to Silverlight.
Get the CompositeWPF source here:
http://www.codeplex.com/CompositeWPF/SourceControl/ListDownloadableCommits.aspx
This requires placing the Silverlight Unity dlls in the Lib folder of the AGCompositeApplicationLibrary spike. You can get the Unity source ...