2007

You are browsing the archive for 2007.

Controlling Z-Index of children in Custom controls

In WPF, the standard way to control Z-Index (programmatically) is to use Panel.SetZIndex(). However that works well only if you plan to use a list of children inside a Panel. What if you want to get the Z-Index functionality in your own custom controls ? Override GetVisualChild() The way to do that is to override [...]

WPF In Finance Contest [Promo Post]

WPF In Finance Contest [Promo Post]

Got some great ideas? Want to do it in WPF and also earn some big bucks? A "YES" means you should check out Lab49′s WPF Innovation Contest. Technorati Tags: wpf, contest, lab49 Similar Posts: Grava for Educational content Baml Disassembler for Reflector Degrafa goes live WPF Multithreading with BackgroundWorker Neon – The WPF Particle Engine

Improved DragDropManager – Source code

The DragDropManger has been a very handy class for me in couple of my projects. Since my last post I made some changes to the interfaces (IDragSourceAdvisor, IDropTargetAdvisor) and also to DragDropManager. There are no major changes except for a few method additions in the interfaces. These methods make it even more flexible. Changes to [...]

SlideDeckPanel – panel that does Card Deck layout

SlideDeckPanel – panel that does Card Deck layout

In one of my recent explorations in a project I had to implement a panel layout that displayed its items as cards that have been fanned out right->left. Effectively the cards are laid out right-to-left, with the card on the right overlaying on the previous one. If the panel has enough space to accommodate all [...]

File organization tip for Custom Control authors

Custom controls can be fun to develop. Depending on the complexity of the control it would be a good practice to break it down into manageable pieces. While developing ElementFlow, I discovered such a technique which you may also find useful. ElementFlow is a fairly complex custom control and there are many interacting pieces in [...]

TransitionContainer: Easy transitions between views

TransitionContainer: Easy transitions between views

Transitions, which is another word for animating between views, is a great way of keeping the user engaged as he interacts with your application. Most applications would contain a wide variety of views, where each view aids in interacting with a specific functionality of the application. When switching to a different view, a gradual animated [...]

The iPhone (-like) interface in WPF

The iPhone (-like) interface in WPF

Sometime back I had worked on an internal Instant Messaging client for our company. We were looking for some inspiration for our client interface and at about the same time the iPhone was introduced. After a lot of thought (which was like “few minutes”), we decided to mimic the iPhone interface for our client. The [...]

ElementFlow is now a Panel !!!

The ElementFlow control was something I was working on a while back and I even posted about it here. The control originally derived from a FrameworkElement and had its own properties for enabling binding to a data-source, namely ElementsSource and ElementTemplate. These properties behave similar to the ItemsSource and ItemTemplate of ItemsControl. One could argue [...]

ItemSkimmingPanel – a panel that does more than just layout

ItemSkimmingPanel – a panel that does more than just layout

Recently Apple released their next version of iLife, which has some cool enhancements to iPhoto and iMovie. One specific enhancement called “skimming” was interesting from my project’s perspective. The idea is that when you scrub your mouse over an album, it skims through all the photos in that album. The same interaction applies when you [...]

Creating WPF based addins with System.AddIn

With Framework 3.5 we have a new namespace called System.AddIn which is useful for creating AddIn based application architectures. For an introduction to this namespace and its usage refer to: CLR AddIn blog Jason He’s Paint.Net adventure with System.AddIn WPF AddIns When creating WPF AddIns one of the first things you would want is the [...]

Page 1 of 3123