Welcome to MSDN Blogs Sign in | Join | Help

Lester's WPF blog


Simple, easy & beautiful

News

Browse by Tags

All Tags » New WPF 4 features   (RSS)
XAML 2009 Features: FactoryMethod\Arguments
This is part of a series on New WPF\XAML Features Another new feature in XAML 2009 is the possibility of creating objects using the non-default constructors. The keyword here is x:Arguments So creating a person object with a constructor requiring Name\Age Read More...
XAML 2009 Features: Generics Support
This is part of a series on New WPF\XAML Features XAML 2009 supports generics J .. In previous releases, if you needed to have an observableCollection for databinding you would probably have written code like class PersonCollection :ObservableCollection Read More...
New WPF Features: SynchronizedInputPattern
This is part of a series on New WPF Features In previous releases, sending input through automation was tricky mainly because the app and the automation processes were separate. The app state could change between the time the input was sent and received. Read More...
New WPF Features: PixelShader3 Support
This is part of a series on New WPF Features Previously WPF only supported Pixel Shader 2.0 (PS 2.0). For this release, we added PS 3.0 support providing the benefits of more instructions, registers .... The usage is similar as before. However, we have Read More...
New WPF Features: UIA Virtualization
Pre .NET 4, from a UI automation perspective, virtualization was not a good story. There wasn’t a standard way of dealing with virtualized controls, since some would expose only the visual elements while the others would create an automation tree that Read More...
XAML 2009 Features: Named Object References
This is part of a series on New WPF\XAML Features In previous releases, if you needed to reference a named object, your XAML would look something like < Label Target =' { Binding ElementName =firstNameBox }' > _Target </ Label > < TextBox Read More...
New WPF Features: Updated File Dialogs
This is part of a series on New WPF Features In previous releases, WPF open\Save dilogs had the XP style even on Vista. Some workarounds were to use the Vista bridge library or use the winforms dialogs. For this release we fixed this issue. You now get Read More...
XAML 2009 Features: XAML Event handling
[ This is part of a series on New WPF\XAML Features] In previous releases, when loose XAML had events in it and was loaded it would crash. In V4, there are 2 options to avoid this crash. à On loading events are searched on the root object of the XAML Read More...
New WPF Features: Cached Composition
This is part of a series on New WPF Features One of the big improvements in 4.0 is the Cached Composition feature in graphics. This feature enables caching a live UIElement as a bitmap, which enables quick rendering of the element as a bitmap. The UIElement Read More...
XAML 2009 Features: Node Loop flexibility
[ This is part of a series on New WPF\XAML Features] So by now most of you must have noticed the System.Xaml dll as part of your .NET 4 WPF projects. It’s a well componentized XAML stack that provides a lot of flexibility working with XAML. So at the Read More...
New WPF Features: Full Trust Xbap Deployment
This is part of a series on New WPF Features In earlier versions, on trying to deploy a Full Trust Xbap, you would get a "Trust Not Granted" error. Its possible to workaround this issue by installing an assembly in the GAC that has the AllowPartiallyTrustedCallersAttribute. Read More...
Xaml 2009 Features: Built in Types
In Xaml2009, we have built-in support for common CLR types which simplifies authoring. So rather than specifying something like < s:String xmlns:s ="clr-namespace:System;assembly=mscorlib"> Foo </ s:String > We can use the notation < x:String Read More...
New WPF Features: Bindable Run
This is part of a series on New WPF Features Bindable run - yeah its possible currently but you would require a custom implementation. if you didnt like to create your own implementation, likely you would be using textblock. Problem here is that its likely Read More...
New WPF Features: Script Interop in Xbap
This is part of a series on New WPF Features Often times you have Xbap hosted in a Html page and its pretty common to have some kind of interaction between the host and Xbap. In this release, we have enabled these scenarios. Operation Changes In Code Read More...
New WPF Features: Binding to Dynamic Objects
This is part of a series on New WPF Features C# 4.0 allows creation of dynamic objects which is useful when you are interacting with dynamic languages. If you are unfamiliar with the dynamic concept take a quick look at this blog entry So back to WPF. Read More...
More Posts Next page »
Page view tracker