In order to change the row height of the RadGanttView
we need to change the MinHeight
of all the CellContainers so there is no discrepancy in the heights when a cell is in edit mode or when it has a set DataTemplate for it. Also in order for the RelationContainers to appear correctly positioned in the middle of the EventContainers we need to change their Margin
accordingly ( = the new MinHeight/2 ).
Please find attached a sample project demonstrating this approach. Note that the project uses Implicit Styles
What I did is to:
1) Change the EventContainer ControlTemplate to set the txtBlock.TextWrapping
so that the text can stretch.
2) Change the SimpleCellContainerStyle, CellContainerStyle, CellEditingContainerStyle
to set the MinHeight to 35.
3) Change the RelationContainerStyle
to modify the Margin and set the Top and Left margin to MinHeight/2.
Hopefully this helps and is suitable for your scenario.
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos
and start improving your app based on facts, not hunches.