sales.europe@xceed.com
support.europe@xceed.com
USD
EUR
Xceed Home
>
Community
Welcome to the Xceed Community |
Help
Community Search
More Search Options
Xceed Community
»
Knowledge Base
»
WPF Controls
»
Xceed DataGrid for WPF
»
Displaying tooltips
Displaying tooltips
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
10-09-2008, 9:02 AM
Post no.
28174
Xceed admin
Joined on 09-29-2008
Longueuil
Posts 443
Displaying tooltips
Locked
The following example demonstrates how to display the entire content of a cell in a tool tip.
<Grid xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid">
<Grid.Resources>
<xcdg:DataGridCollectionViewSource x:Key="cvs_orders"
Source="{Binding Source={x:Static Application.Current}, Path=Orders}"/>
<Style TargetType="{x:Type xcdg:DataCell}">
<Setter Property="ToolTip"
Value="{Binding RelativeSource={RelativeSource Self}, Path=Content}"/>
</Style>
</Grid.Resources>
<xcdg:DataGridControl x:Name="OrdersGrid"
ItemsSource="{Binding Source={StaticResource cvs_orders}}"/>
</Grid>
Report abuse
Contact
|
Site Map
|
Reviews
|
Legal
Terms of Use
|
Trademarks
|
Privacy Statement
Copyright 2011 Xceed Software Inc.