WPF

Blog posts tagged by WPF

Binding to a RichTextBox in WPF

I've been doing some WPF development the last couple of weeks, and one thing that bugged me was that there is no way (as far as I know) to bind content to a RichTextBox. This makes it kind of difficult to follow the MVVM pattern since the view model needs intimate knowledge of the view.

Conditionals in XAML

Ever wanted to display things conditionally in XAML based on a pre-processor directive like `DEBUG`?