[WPF] A markup extension that can update its target
Explains how to create a WPF markup extension that can update its target property after initial evaluation, overcoming a common limitation.
Thomas Levesque is a French software developer and long-time .NET expert with 20 years of experience, specializing in C#, ASP.NET Core, and open-source development. He is a core maintainer of FakeItEasy and a former Microsoft MVP.
109 articles from this blog
Explains how to create a WPF markup extension that can update its target property after initial evaluation, overcoming a common limitation.
A C# tutorial on solving XML serialization issues for parent-child object relationships using a custom generic collection and interface.
A guide to implementing WPF-like DragMove functionality for controls in Windows Forms, including extension methods and a designer component.
A guide to creating an AsyncObservableCollection in WPF to safely update data-bound collections from background threads.
A tutorial on implementing automatic column sorting in WPF GridViews using attached properties, compatible with the MVVM pattern.
A guide to binding keyboard shortcuts to ViewModel commands in WPF using a custom markup extension, solving a common MVVM challenge.
A guide to manually editing a Visual Studio .csproj file to make a file appear as a child item of another in the Solution Explorer.
A tutorial on building a simple RSS reader using .NET's SyndicationFeed class and WPF for a graphical interface.
Explains a bug in WPF's Clipboard.GetImage method and provides a workaround to correctly paste images from the clipboard by manually handling DIB format.