This is a migrated thread and some comments may be shown as answers.

Rotate header of the vertical swimlane

1 Answer 75 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Sasa
Top achievements
Rank 1
Sasa asked on 27 Aug 2015, 07:03 AM

Hi,

can I somehow rotate header of the vertical swimlane inside vertical main shape? My swimlane must be as small as possible as you can see on the image below.

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Petar Mladenov
Telerik team
answered on 31 Aug 2015, 01:55 PM
Hello Sasa,

You need to edit the templates of the vertical SwimLanes and introduce RotateTransform or LayoutTransformControl. The styles you need to change are located in Resources.xaml file of the demo.
<Style x:Key="verticalBaseStyle" TargetType="swimlaneBase:CustomContainerBase">
....
<Style BasedOn="{StaticResource verticalBaseStyle}" TargetType="swimlane:VerticalMainContainerShape">

Also you can consider only making the containers to be smaller in their Width. The text wrapping feature will wrap the headers of the containers so that every letter will be on individual row. This way you won;t need to introduce rotation on some grids / contentpresenters etc.

Regards,
Petar Mladenov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Diagram
Asked by
Sasa
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or