February 2007 - Artículos

DSL Tools: how to change the size, position and order of the swimlanes.

There are an easily way to change the position, size and order of the swimlane shapes in your dsl. To do that, you just have to create a partial class of the swimlane that you want to modify its boundary and then override its BoundRules property, like this: Also you must create the BoundRules custom class and override the GetCompliantBounds method which returns the rectangle in which the swimlane will be painted. This method receives the shape and the proposed rectangle, with those values you can...
Publicado por Jose Escrich | con no comments