Silverlight Resize Drag Behavior for targeted UIElements

I have been searching for a Silverlight behavior where you have the ability to resize a column. Normally you can do such a thing with a GridSplitter onto a grid with several columns.

Unfortunately this doesn’t work when you also wants to implement something like a hide and show menu column.

Therefore I created this behavior myself and released it on CodePlex. So if you are developing a Silverlight application and you find yourself in need of a simple behavior that allows you to resize an element by dragging either in height or width, go to the ResizeDragBehavior on Codeplex.

The solution also includes a sample project where you can see how you can easily setup a menupanel-based interface.


The behavior is fully compatible with Expression Blend.

You may also like...

2 Responses

  1. Dan F says:

    Very nice. I’ve been hunting for a DockPanelSplitter or a DockSplitter for a while now, your ResizeDragBehavior fits the bill perfectly. Thanks Andries!

  2. Samuel Jack says:

    Just what I needed. Thanks!

    I’ve used this in RavenDb Studio’s Silverlight UI.

Leave a Reply

Your email address will not be published. Required fields are marked *