Contents tagged with Tips amp; Tricks
-
Silverlight layout hack: Centered content with fixed maxwidth
Today we need to create centered content with fixed maxwidth. It is very easy to implement it for fixed width, but is not clear how to achieve the same for maxwidth.
-
Silverlight Tips & Tricks: Make Silverlight DataGrid be more MVVM friendly =)
Today one guy from our dev team met some problems with binding of datagrid selected items. Because of SelectedItems is readonly property, we cannot create two way binding for it. After a short discussion we decided to create DataGridSelectedChanged command behavior which will inform our model about selected rows. (We are using microsoft p&p prism commands api).
-
Silverlight Tip: Cannot change namespace of App class
For rather long period of time I wonder why if you change namespace of App class Silverlight application stop working.
-
Silverlight Tip: Splash screen issues.
Today I worked on silverlight splash screen for our site and found that documentation about splash screen is very poor and cause many misunderstandings. In this post i'll try to make some of them disappear. =)
-
Resharper live template for Dependency Properties
Writing of Silverlight and WPF dependency properties is very annoying process.
-
Silverlight Tip : How to set web page title.
If you have more than one page in your silverlight application it would be great if you will change a web page title when you switch between them.