Automatic ICommand activation in WPF
Today I will present you my solution for automatic command activation in WPF MvvM application.
By Mirek on (tags: comanding, DelegateCommand, mvvm, WPF, categories: code)Today I will present you my solution for automatic command activation in WPF MvvM application.
By Mirek on (tags: comanding, DelegateCommand, mvvm, WPF, categories: code)Recently we moved our main WPF project to .net framework 4.5 and Visual Studio 2012. Then when I tried to preview some of basic views in Visual Studio designer I faced some strange problems. We have several user controls that we use in our views.
By Mirek on (tags: .net 4.5, user control, Visual Studio 2012, WPF, categories: architecture)Today I will show you a simple way to have a pie chart in your WPF application with use of ItemsControl. The pieces of the pie will be binded to the undergoing item model collection. Let’s take a look at it.
By Mirek on (tags: itemscontrol, Pie Chart, WPF, categories: code)In a previous post I showed you how to use IDataErrorInfo interface to implement simple validation mechanism in WPF MvvM application. In this post we will try to extend and customize this approach a little.
By Mirek on (tags: IDataErrorInfo, mvvm, validation, WPF, categories: code)In this post I will try to demonstrate the simplest validation approach for Windows Presentation Foundation application designed in Model View View-Model pattern.
We will be using data binding and IDataErrorInfo implementation.
By Mirek on (tags: IDataErrorInfo, mvvm, validation, WPF, categories: code)Windows Presentation Foundation allows us to create our own value converters and use them in XAML bindings. WPF also comes with a set of predefined converters. One of them is BooleanToVisibilityConverter. It this post I will show you how to create own version of this converter with parameter feature supported.
By Mirek on (tags: BooleanToVisibilityConverter, IValueConverter, WPF, categories: code)Have you ever straggled with generating and polishing gradient for wpf in xaml? I did many times. Did you use any tool for that, except Visual Studio Property tab? I didn’t. Until I stumble upon Online Gradient Maker.
By Mirek on (tags: gradient, WPF, XAML, categories: tools)Today I will show you how to override the CheckBox control template to style it in custom way and add a sexy looking shadow effect.
By Mirek on (tags: CheckBox, inner shadow, styling, WPF, categories: code)More precisely how can we cache UI elements, since the property I’m going to describe is located at UIElement class, to improve the performance of the WPF control.
By Mirek on (tags: BitmapCache, CacheMode, custom controls, Gantt, WPF, categories: architecture)Model View View-Model is one of most popular design pattern used in WPF applications. Thanks to binding, dependency properties and other features, WPF has been adjusted and, I believe, somehow designed to be used with MvvM pattern easily.
By Mirek on (tags: mvvm, WPF, categories: code)