Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
180
Is it possible to customize the axis thumb by remplacing it with a custom icon?
posted

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.

Parents
No Data
Reply
  • 895
    Suggested Answer
    posted

    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"

                      Value="32" />

              <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>

     

     

     

Children
No Data