Tooltips for RadPropertyGrid Items

3 posts, 1 answers
  1. Maurizio
    Maurizio avatar
    43 posts
    Member since:
    Jan 2012

    Posted 13 Jan 2015 Link to this post

    We have a RadPropertyGrid with its items being auto-generated.

    How can I set Tooltips to the labels and/or to the editors being generated???

    Tooltips should be set inside auto-generation 
  2. Answer
    Stefan X1
    Stefan X1 avatar
    482 posts

    Posted 14 Jan 2015 Link to this post

    Hello Peter,

    I can suggest you the following steps to set Tooltips to the Labels and Editors of the PropertyGrid:

    1.   Add a Name of your PropertyGrid in your XAML code:
    <telerik:RadPropertyGrid  x:Name="PropertyGrid1"/>

    2.   Attach an EventHandler for the FieldLoaded event of the PropertyGrid in the code behind of your application:
    this.PropertyGrid1.FieldLoaded += PropertyGrid1_FieldLoaded;

    3.   Set ToolTips in the EventHandler method for the Labels and the Editors of the PropertyGrid:
    void PropertyGrid1_FieldLoaded(object sender,
             Telerik.Windows.Controls.Data.PropertyGrid.FieldEventArgs e)


       //ToolTip for the Editors

       ToolTip editorToolTip =
    new ToolTip();

       editorToolTip.Content =
    "Your Editor Content";

    as FrameworkElement, editorToolTip)

       //ToolTip for the Labels

       ToolTip labelToolTip =
    new ToolTip();

       labelToolTip.Content =
    "Your Label Content";

    as FrameworkElement, labelToolTip);


    Let me know how this works for you.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
  4. Maurizio
    Maurizio avatar
    43 posts
    Member since:
    Jan 2012

    Posted 26 Jan 2015 Link to this post

    Thanks, Stefan!

    It works fine.

    Regards from Düsseldorf, Germany
Back to Top