Hi,
I want to decrease the hieght of the datetimeentry which displayed above the above the datetime axis.
How should i do this?
Whats the element/style called? Where should i need to look for this parameter?
Thanks,
Jim.
Hello Jim,
For this particular sample, look in the sample's XAML for
<Style x:Key="XamTimelineStyle1"> ... <Setter Property="EventTitleTopStyle"> <Setter.Value> ... <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="ig:EventTitle"> <Grid VerticalAlignment="Bottom"> <Grid.RowDefinitions> <RowDefinition Height="120" /> <RowDefinition Height="65" /> </Grid.RowDefinitions>
The element that you want to style is called an EventTitle. There are two styles regarding this element - EventTitleTopStyle(the Event Titles above the Zoombar) and EventTitleBottomStyle(the Event Titles below the Zoombar).
Here is a Style Guide for the xamTimeline control.
Nikolay
Hi Nikolay,
The row definitions are variables I need to changed.
However, when I change them, the EventTitle Grid is still floating but not attached.
Can you help me please?
Hey Nikoloy,
Please help.
Jowen.
Hello Jowen,
Group your template for the Event Title in a Grid.
Set the height of the new Grid to the full size of the top area and align your template to the bottom of the new Grid.
Can you please post a sample project.
or snippet for the event title style.
jowen.
Here is the attached sample:
Thanks for the sample.
That solved my problem.