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
125
Specifying a Width on the Legend
posted

Hello,

I'd like to be able to set the width on the legend of a timeline.  Here's my current code:

<Style x:Key="XamLegendStyle" TargetType="ig:TimelineLegend">

            <Setter Property="Width">

                <Setter.Value>10</Setter.Value>

            </Setter>

</Style>

 

This does not work as expected.  Any ideas?

Parents
No Data
Reply
  • 17605
    Verified Answer
    posted

    Hi,

    Did you set this style to the Timeline.LegendStyle property?

     

    <Style x:Key="XamLegendStyle" TargetType="ig:TimelineLegend">

    <Setter Property="Width" Value="10" />

    </Style>

    <ig:XamTimeline LegendStyle="{StaticResource XamLegendStyle}" …

     

Children