Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 113
  1. [WPF] Markup extensions and templates

    Note : This post follows the one about a a markup extension that can update its target, and reuses the same code.

  2. [WPF] Automatically sort a GridView (continued)

    A few months ago, I wrote a post where I explained how to automatically sort a GridView when a column header is clicked.

  3. If you have read my previous posts on the topic, you know I’m a big fan of custom markup extensions… However, they have a limitation that can be quite annoying : they are only evaluated once.

  4. Today I’d like to present an idea that occurred to me recently.

  5. Here’s a piece of code I wrote a while ago, I just thought it could be useful for WinForms developers… In WPF, there is a very handy method to move a window with no borders : Window.DragMove.

  6. [WPF] Binding to an asynchronous collection

    As you may have noticed, it is not possible to modify the contents of an ObservableCollection on a separate thread if a view is bound to this collection : the CollectionView raises a NotSupportedException : This type of CollectionView does not support cha…

  7. It’s quite simple, in WPF, to present data in a grid, thanks to the GridView class.

  8. [WPF] Using InputBindings with the MVVM pattern

    If you develop WPF applications according to the Model-View-ViewModel pattern, you may have faced this issue : in XAML, how to bind a key or mouse gesture to a ViewModel command ?

  9. You probably noticed that, in a C# project tree, some items are placed “under” a parent item : it is the case, for instance, for files generated by a designer or wizard : The following trick shows how to apply the same behavior to your own files.

  10. Soon after the release of WPF, people have been talking more and more about “Model-View-ViewModel” (MVVM).

  11. Build an RSS reader in 5 minutes

    Today, I stumbled upon a very handy class : SyndicationFeed.

  12. Oops… 2 months already since my previous (and first) post… I really have to get on a more regular schedule ;) If you’ve ever tried to use the Clipboard.GetImage method in WPF, you probably had an unpleasant surprise… In fact, this method returns an Intero…

  13. Hi, this is my first post on this blog, I hope you will enjoy it ;-).