Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #22839 |

    Hi everybody,
    i would like to provide a tooltip for each row in the DataGrid, the tooltip content should be set to the content of an (invisible) column of the row.
    Every hint is apreciated….

    Michael

    Imported from legacy forums. Posted by Michael (had 2387 views)

    Xceed Support
    Member
    Post count: 5658

    Hi Michael,

    You can provide a tooltip by creating a style for the DataRow class.
    <code>
    <Window.Resources>
    <Style TargetType=”{x:Type xcdg:DataRow}” >
    <Setter Property=”Tooltip” Value=”{Binding myPropertyNameOnTheDataItem}”/>
    </Style>
    </Window.Resources>
    </code>

    Imported from legacy forums. Posted by Marcus [Xceed] (had 181 views)

    User (Old forums)
    Member
    Post count: 23064

    Hi Marc,
    thank you for the fast response – works fine!
    Michael

    Imported from legacy forums. Posted by Michael (had 3564 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.