Generic Template

2 posts, 0 answers
  1. Alain
    Alain avatar
    239 posts
    Member since:
    Aug 2013

    Posted 22 Apr 2015 Link to this post


     I would like to know if it's possible to define a custom tooltip template for every tooltip in my application?




  2. Petar Mladenov
    Petar Mladenov avatar
    2882 posts

    Posted 23 Apr 2015 Link to this post

    Hello Alain,

    RadToolTip is pretty simple control whose ControlTemplate consists of a single ContentPresernter only. This means that everything you set as a ContentTempalte via RadToolTipService.ToolTipContentTemplate property will create the whole visual part of control (the part you see). Please also have in mind if you set RadToolTipContentView as first -level control in the ToolTipContentTemplate you can benefit from the telerik predefined themes. Please check out the sample in which different templates are applied on 3 Ellipses. 

    Petar Mladenov

    See What's Next in App Development. Register for TelerikNEXT.

  3. DevCraft banner
Back to Top