Hello,
My client wants to customize the axis thumb of the timeline by remplacing it with a custom icon.
Is it possible to develop this?
If yes, how can I do please?
Thanks.
Hello Sofiane!
Replasing the axis thumb with an icon is possible. Here is how to achieve this:
<ig:XamTimeline>
<ig:XamTimeline.Axis>
<ig:NumericTimeAxis>
<ig:NumericTimeAxis.ThumbStyle>
<Style TargetType="ig:AxisThumb">
<Setter Property="Width"
Value="32" />
<Setter Property="Height"
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ig:AxisThumb">
<Image Source="star.png"
Width="32"
Height="32" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ig:NumericTimeAxis.ThumbStyle>
</ig:NumericTimeAxis>
</ig:XamTimeline.Axis>
</ig:XamTimeline>