4 Answers, 1 is accepted
I did some investigation and came up with a possible solution that might be the one you are looking for. This solution consists of the following approach:
- GanttView - extracting the default template of the GanttItemsPresenter element and modifying the telerik:GanttPresenterPanel.Area property of its children elements. Note that this approach is merely a suggestion which is not well tested and I cannot guarantee that it will work properly in all expected scenarios.
- Timeline - extracting the default template of the control and updating the layout order of the TimelineAnnotationsPanel's children elements by modifying their Grid.Row and Grid.RowSpan properties.
I created a sample project that follows the above approach. It includes both the GanttView and Timeline controls, the required custom styles and templates. It has the Fluent theme applied using implicit styles (NoXaml version of the assemblies).
Please, find the sample project attached to my reply, give it a try and let me know if it helps.
I'm a colleague of Josias.
I tested the sample you did and in fact the time is on the bottom part. That's not exactly what we are expecting.
Here is more what we want:
We want to keep the Title/Start/End header on top as well as its corresponding part in the event panel.
But we want the time to be displayed on the bottom. I took visuals from a running app and with a "nice" paint I tried to make what we want to achieve.
Thanks for the provided details and the screenshot.
The GroupTickContainer (the one displaying the month from the screenshot) and the MajorTickContainer elements (the ones displaying each day of the month) are part of one LogicalCanvasPanel, named TimeRulerPanel. This means, that these containers can only be moved together.
With that said, the only possible way to move the MajorTickContainers to the bottom is along with the MajorTickContainer (i.e. the whole LogicalCanvasPanel), which is implemented in the sample project I provided earlier.
Please, do not hesitate to contact me back if there is anything else I can help you with.
Our thoughts here at Progress are with those affected by the outbreak.
That's what I was indeed thinking after trying to figure out how to do so.
Thanks for your time.