Browse by Tags
All Tags »
.NET 4 (RSS)
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...
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...
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...
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...
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...
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...
[ 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...
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...
[ 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...
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...
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...
This is part of a series on New WPF Features WPF enforces grayscale rendering when text is rendered on a transparent area. However, its possible that the background of a control is opaque even though its inside a transparent area. For example, popups
Read More...