Questions tagged [silverlight-5.0]

Silverlight is Microsoft's cross-browser, cross platform plug-in for media experiences and rich interactive applications. The latest Silverlight version available is Silverlight 5.

Microsoft Silverlight is a powerful tool for creating and delivering rich Internet applications and media experiences on the Web. Silverlight 5 builds on the foundation of Silverlight 4 for building business applications and premium media experiences. Among other capabilities, the Silverlight 5 highlights dramatic video quality and performance improvements, and features that improve developer productivity.

Download Silverlight 5 from http://www.silverlight.net/downloads

Top Release Candidate Features

Binding and Related

  • ICustomTypeProvider
  • Custom Markup Extensions
  • Ancestor RelativeSource Binding
  • Implicit Data Templates
  • Binding in Style Setters
  • DataContextChanged Event (new since beta)
  • PropertyChanged now an UpdateSourceTrigger option (new since beta)

Graphics

  • XNA 3D API
  • Improved Graphics Stack
  • 3D Render targets (new since beta)
  • XNA 3D built-in effects (new since beta)
  • 3D surface composition settings (new since beta)
  • 3D multi-sample anti-aliasing (new since beta)

Media

  • Low-Latency Sound using XNA SoundEffect and SoundEffectInstance
  • Hardware decoding of H.264 media
  • Variable Speed Playback and Trick-play (new since beta)
  • Remote Control and Media Command (Keys) Support (new since beta)

Text

  • Text Tracking and Leading
  • Linked and Multi-column Text
  • OpenType Support (new since beta)
  • Pixel Snapped Text and TextOptions (new since beta)

Operating System Integration

  • P/Invoke (new since beta)
  • Multiple Windows
  • Unrestricted File System Access in Full Trust
  • Full Trust in-browser
  • Default Filename in SaveFileDialog and OpenFileDialog (new since beta)
  • 64 bit browser support (new since beta)
  • Power awareness for media apps (keep the PC alive while a movie is playing, for example) (new since beta)

Productivity and Performance

  • Network Latency Improvements
  • Databinding Debugging
  • Parser Performance Improvements
  • Multi-core JIT for improved start-up time

Controls

  • Double and n-click support
  • PivotViewer (new since beta)
  • ComboBox type-ahead/incremental search

Other

  • In-browser HTML
  • PostScript Vector Printing (new since beta)
  • Tasks from TPL (new since beta)
  • C# Covariance and Contravariance

More on this list at Pete's Blog.

See also:

1417 questions
4
votes
0 answers

Adding PCL library into Silverlight Application causes Error 2110

I have a library that I have converted to a PCL in Visual Studio 2012. I have set the target frameworks to .NET Framework 4 and higher, Silverlight 4 and higher, Windows 8, and Windows Phone Silverlight 7 and higher. The library correctly compiles…
4
votes
0 answers

circular base class dependency involving proj.web.domaincontext and proj.web.domaincontext

I am trying to build this .web file it returns successful build, but when I run the project it returns the above error message, What I am missing WHAT I HAVE DONE I have changed from "UserControl x:Class="Demo1.Views.frmWardMaster" "to …
Manjuboyz
  • 6,978
  • 3
  • 21
  • 43
4
votes
1 answer

JSON.net 5.0 nuget package for silverlight is not recognized

Original question: Is there something I need to change with the namespace, Newtonsoft.Json, or the packages.config files in order for Visual Studio 2010, Silverlight 5, NuGet, and JSON.Net to all play together properly? After update: Is there even a…
4
votes
1 answer

Display Silverlight generated message

During full screen mode in silverlight it shows a following a message. First time i checked the "Remember my answer". But now i need that message screen once again to display when i go to full-screen mode. What i should do to get it. Please help…
Arun
  • 1,644
  • 9
  • 25
  • 41
4
votes
2 answers

get string value from registry using p/invoke (Silverlight)

I am trying to find the COM port assigned to a USB device, through the registry using Silverlight, and have tried the following: dynamic WshShell = AutomationFactory.CreateObject("WScript.Shell"); string strRegKeyUSB =…
BFG
  • 387
  • 1
  • 3
  • 14
4
votes
1 answer

MediaElement.NaturalDuration is less than the actual duration of the audio

On some audio files the value of MediaElement.NaturalDuration is less than the actual duration of the audio. When I open the file in Windows Media Player the duration is correct (also when I look at the properties of the file). Although the value of…
Pavlo Glazkov
  • 20,498
  • 3
  • 58
  • 71
4
votes
2 answers

DataGridDragDropTarget: Change Icon depending on the drop target

I'm currently writing a tool to assign entities from one DataGrid to entities in another DataGrid via drag-and-drop. With some fiddling, I got everything to run smoothly, with one minor annoyance: Some entities cannot be assigned to some other…
Nuffin
  • 3,882
  • 18
  • 34
4
votes
1 answer

How to add unmanaged C++ dll into a Silverlight 5 project

I need to use a my own unmanaged C++ dll into Silverlight 5 project. As I am able to use it using dllImport i.e. [DllImport(@"D:\myLib\Debug\myLib.dll")] static extern int add(IntPtr ptr); It works fine as I metioned a absoulte path in…
Vipin
  • 41
  • 2
4
votes
2 answers

Enable elevated trust for the Silverlight 5 application when running in-browser without adding the registry key

To enable elevated trust for the Silverlight 5 application when running in-browser I've tried so many options well described e.g. here (by Mister Goodcat) and it works good with our VeriSign certificate only if I add the registry key…
4
votes
2 answers

Visual studio 2012 - silverlight - XAML designer - Insert grid row before/ after

Just switched to visual studio 2012, and I can't figure out how to insert a new row into a silverlight grid through the xaml designer. In visual studio 2010, we could easily insert rows and columns into our silverlight grid just by left clicking >…
Shaboboo
  • 1,347
  • 1
  • 16
  • 35
4
votes
3 answers

No XAML binding debugging with breakpoints in Visual Studio 2012 (RTM, on Windows 8 RTM)?

After upgrading my Silverlight 5 solution to Visual Studio 2012 (RTM), and then updating to Windows 8 (RTM), I noticed that when you set a breakpoint in XAML, you get the following tooltip in debug mode: The breakpoint will not currently be hit.…
4
votes
2 answers

How to put behavior in style for TextBox in Silverlight?

In Xaml, I can put customized behavior for a textbox like: I want to all TextBox has this behavior, so how to put this behavior in…
KentZhou
  • 24,805
  • 41
  • 134
  • 200
4
votes
1 answer

Silverlight 5 with elevated privileges in browser using clientaccesspolicy.xml

I am trying to get my silverlight application running with elevated privileges in browser. However, no matter what I do, it doesnt get elevated. I have tried to add registry key AllowElevatedTrustAppsInBrowser (as DWORD with value 1), and signed…
ruffen
  • 1,695
  • 2
  • 25
  • 51
4
votes
2 answers

How to reuse Storyboard with VisualStateManager In Silverlight 5

This question has been asked before but in most cases no more recent than 2 years ago and often specific to WPF. The answer might still be there same, but here it goes. I'm trying to build a triangular (arrow) button that changes color and grows in…
xr280xr
  • 12,621
  • 7
  • 81
  • 125
4
votes
1 answer

How to add XNA Content Pipeline to Silverlight 5 in Visual Studio Web 2010 Express?

The Silverlight 5 XNA samples, I presume are built in Visual Studio Professional editions as when when opening them in Visual Web Express 2010 it cannot open the Content Projects. NB: I have reported the issue here, so watch out for a resolution…
markmnl
  • 11,116
  • 8
  • 73
  • 109