Welcome to the Xceed Community Sign in | Join | Help
Community Search  

tooltip for wpf Xceed datagrid columns

Sort Posts: Previous Next
  •  04-10-2007, 5:59 AM Post no. 7630

    tooltip for wpf Xceed datagrid columns

    Hello,
    I want to give cell content as tooltip to that cell itself in the wpf xceed datagrid columns, how can i do that, help me out plz AEAP
  •  04-11-2007, 8:49 AM Post no. 7631 in reply to 7630

    Re: tooltip for wpf Xceed datagrid columns

    I`m not sure I totally understand your question but:

    You can create a style for the DataCell class and in the style, be sure to affect the Tooltip property of the DataCell.

    Quick Example:

    <Style TargetType="{x:Type xcdg:DataCell}">
    <Setter Property="ToolTip"
    Value="{Binding RelativeSource={RelativeSource Self}, Path=Content}"/>
    </Style>
    Marc Laroche
    Software Developer
    Xceed Software Inc.


    I don’t suffer from insanity, I enjoy every minute of it. - Unknown
  •  04-12-2007, 2:55 AM Post no. 7632 in reply to 7631

    Re: tooltip for wpf Xceed datagrid columns

    Thank you very much its working perfectly
  •  09-05-2008, 4:36 PM Post no. 14955 in reply to 7631

    Re: tooltip for wpf Xceed datagrid columns

    How should I give if I want to bind a column to the tool tip?

     eg) My datasource has empid, name etc and I show only the naem in the grid but I want the tooltip as the emp id for the particular name.

     Please guide me implementation both in design time and run time

View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.