Wednesday, April 7, 2010

WPF Features NOT in Silverlight Beta 4.0 and other restrictions

1. Simple Inline XAML

2. Silverlight does not support dynamic resources
Only static resources

3. No XPath binding

4. Triggers
workaround
Expression.Samples.Interactivity
System.Windows.Interactivity

Download the example here

5. Silverlight compiled DLL's can only be reference to your Silvelight project.

6. DocumentViewer Control

7. Adorner

8. MultiBindings

9. Updatetrigger

10. Cannot read and write to your local disk
Example:
HtmlPage.Window.Navigate(new Uri("C:\\Users\\userName\\Downloads\\test.pdf"), "_blank");
HtmlPage.Window.Navigate(new Uri("C:\\Users\\userName\\AppData\\LocalLow\\Microsoft\\Silverlight\\is\\t1frcinf.y5b\\adbxgs00.suq\\1\\s\\i4j5zwj5lwo3dexs43ahtvmg2bjlsx11spczjmw5ud3c3dignoaaahea\\f\\MHVStore\\WhatsNewInSilverlight4.pdf"), "_blank");


*** You can access the absolutepath of your IsolatedStorage but it is not the best practice.

10. Refection

No comments:

Post a Comment

About Me

My photo
simple and straight forward