|
|
-
|
|
Until SIlverlight 4, UpdateSourceTrigger enum has only 2 options, "LostFocus" and "Explicit". "LostFocus" will update the source value back only when the focus lost. "Explicit" will update the source value, when the user explicitly press "OK" button in ...
|
|
-
|
|
Often we will show pop-up windows in applications. One problem with the pop-ups is user needs to close the popup to continue with the background application. Suppose, if you want your application to continue to work while playing some audio in a separat...
|
|
-
|
|
This is one of very useful addition for designers. Until silverlight 4, while defining a style, there is no binding support. Property setter values needs to be entered as static values or either to be used as static resources.
Now in silverlight 5, Wh...
|
|
-
|
|
SIlverlight 5 introduced a feature, "Ancestor Relative Source Binding", which is already exists in WPF before. This gives the controls to bind the properties of its parent controls in any level. To bind the property of its parent control, we need to spe...
|
|
-
|
|
This is very interesting feature in Silverlight 5. PivotViewer control will be helpful in viewing large collections of data. This control reminds the look and feel like Excel pivot. By using this control, large collections of data can be filtered by usi...
|
|
-
|
|
We often use In-Built markup extensions such as Binding, Static Resource, Template Binding and Relative Source. We will use these markup extensions with curly braces {}. Now in Silverlight 5, we can also write our own Custom Markup Extensions.
Implem...
|
|
-
|
|
Data Templates provides great level of flexibility to controls. Once a template is created, we can use it for any control, which makes control to use the layout defined in data template.
Now in Silverlight 5, implicit data templates has been added, whi...
|
|
-
|
|
Until silverlight 4, while saving a file using FileDialog, we can't specify "DefaultFileName" property. User has to explicitly specify file name. Now in
Silverlight 5, FileDialog has an property "DefaultFileName", by using which, we can specify the def...
|
|
-
|
|
In WPF, when datacontext of a control changes, it will provide an explicit event, so we can track changes when the datacontext changes. But until silverlight 4, we don't have this event. Silverlight 5, now provides the datacontext changed event. When da...
|
|
-
|
|
Silverlight 5 now supports,multiple clicks events like double click, triple clicks etc. MouseLeftButtonDown event exposes a property, "ClickCount", which indicates how many times mouse has been clicked.
In below example, when you click on mouse multipl...
|
|