Tag Archives: Grid

GridSplitters – Part 3: Limiting the Range of a GridSplitter

Sometimes I look at what people search for when they hit my blog and see some trending questions that don’t seem to have easily findable answers. This one seems to be related to how to set the limit for moving … Continue reading

Posted in Computers and Internet | Tagged , , , , , | Leave a comment

“Moving GridSplitter with code behind” is not the right question

Occasionally I see people searching for how to move the GridSplitter with code behind… This is not the right question. You can in theory move the GridSplitter itself with code – it is just a control that is hosted in … Continue reading

Posted in Computers and Internet | Tagged , , , , , | 1 Comment

Fixing WPF GridSplitter

Introduction While working on a WPF tool for work – I was creating ColumnDefinitions in a Grid dynamically (with code) and also dynamically adding GridSplitters to allow users (myself) to resize the columns. Well, it all worked OK, except for … Continue reading

Posted in Computers and Internet | Tagged , , , , , | 4 Comments

Using attached properties to style RowDefinitions of a Grid in WPF

The below sample shows how you can use attached dependency properties to style a Grid’s RowDefinitions. This specific case shows how a single property can be set to specify the number of rows in a Grid.

Posted in Computers and Internet, Uncategorized | Tagged , , , , , , | 1 Comment