Handling already handled events in WPF
This is a simple trick to handle already handled routed events in WPF application.
By Mirek on (tags: routed events, WPF, categories: code)This is a simple trick to handle already handled routed events in WPF application.
By Mirek on (tags: routed events, WPF, categories: code)In the Entity Framework we can easily enable lazy loading of navigation properties by marking them as virtual. This however applies only to properties that reference other related entity type. The framework does not support lazy loading of scalar or primitive properties. But there is a trick to fill this lack quite easily.
By Mirek on (tags: Entity Framework, lazy loading, shared primary key associations, table splitting, categories: architecture, code)Last time I showed a simple way of using application settings in our wpf application. This time I would like to present you my way of testing Properties.Settings, or rather mocking it in our application tests.
By Mirek on (tags: mocking, settings, testing, categories: code)Temporary folders in your system are used to store temporary files obviously. Unfortunately those temporary files, very often, stays there for ever and makes your hard drive wasted.
By Mirek on (tags: Process, Task, Temp, categories: code)Let’s imagine we have a huge collection of some objects (may be our data objects) and we need to filter this collection and display only a part of its elements in different places in our WPF application. Instead of creating many different instances of sub collection we can use the benefits of collection views.
By Mirek on (tags: CollectionView, WPF, categories: code)I recently had an opportunity to put some new knockout knowledge into use. Tekpub has a very nice training video on the subject, which was a great starting point, so let me show you the result.
By eidias on (tags: javascript, knockout, categories: code, web)It was obvious for me that a TabControl in WPF, which is a container for TabItems, has a dependency property indicating the index of current tab.
By Mirek on (tags: TabControl, WPF, categories: code)In this post I will show you the way we can implement a plugin functionality in WPF MvvM application with use of Managed Extensibility Framework (MEF).
By Mirek on (tags: MEF, mvvm, Plugins, WPF, categories: architecture, code)In a previous post I have described hot to utilize a INotifyDataErrorInfo interface. Today I will show you my solution for automated cross-property validation integrated with the ModelValidation base class from previous post.
By Mirek on (tags: CustomValidationAttribute, mvvm, validation, WPF, categories: code)Today I will show you how I utilize the INotifyDataErrorInfo interface to accomplish validation mechanisms in WPF application.
By Mirek on (tags: INotifyDataErrorInfo, mvvm, validation, WPF, categories: code)