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
785
Varying LabelPresenter's Control Template
posted

Hello All,

I would like to use a different control template for different instances of LabelPresenter. It seems I can vary the *data* template with DataTemplateSelector, but I don't yet see how to apply a different control template to different LabelPresenter objects. How may I do so?

I'll mention that my reason for wanting to do so is that I want to rotate the text of labels for columns whose index is >= 3. For the first, two columns, I do not want to rotate the label. If there's a better way to do this than by varying the control template, please feel free to say so!

Thanks,

Dave

 

  • 69686
    posted

    Hello Dave,

     

    In this case you can apply a different style at the LabelPresenterStyle, which is a property of the Field's Settings.