<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Vincent Sibal's Blog : ToolTip</title><link>http://blogs.msdn.com/vinsibal/archive/tags/ToolTip/default.aspx</link><description>Tags: ToolTip</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>WPF DataGrid sample: Add a preview ToolTip to a ScrollViewer</title><link>http://blogs.msdn.com/vinsibal/archive/2008/08/25/wpf-datagrid-sample-add-a-preview-tooltip-to-a-scrollviewer.aspx</link><pubDate>Mon, 25 Aug 2008 16:46:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8893902</guid><dc:creator>vinsibal</dc:creator><slash:comments>18</slash:comments><comments>http://blogs.msdn.com/vinsibal/comments/8893902.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vinsibal/commentrss.aspx?PostID=8893902</wfw:commentRss><wfw:comment>http://blogs.msdn.com/vinsibal/rsscomments.aspx?PostID=8893902</wfw:comment><description>&lt;P&gt;A customer was asking for a sample of a preview ToolTip on scrolling for the DataGrid and Ben Carter, one of our awesome Devs, wrote a sample &lt;A class="" href="http://code.msdn.microsoft.com/getwpfcode/Release/ProjectReleases.aspx?ReleaseId=1445" mce_href="http://code.msdn.microsoft.com/getwpfcode/Release/ProjectReleases.aspx?ReleaseId=1445"&gt;here&lt;/A&gt; for any general ItemsControl.&amp;nbsp; &lt;FONT face=Calibri size=3&gt;If you haven’t already, you can download the binaries and source for&amp;nbsp;the DataGrid&amp;nbsp;&lt;A href="http://www.codeplex.com/wpf/Release/ProjectReleases.aspx?ReleaseId=14963" mce_href="http://www.codeplex.com/wpf/Release/ProjectReleases.aspx?ReleaseId=14963"&gt;&lt;FONT color=#006ff7&gt;here&lt;/FONT&gt;&lt;/A&gt;.&amp;nbsp;&lt;/FONT&gt;With Ben's sample I've put it to use in the DataGrid.&amp;nbsp; Pretty much all the work has already been done by Ben's code, I just use the attached behavior he has defined.&amp;nbsp; I have one DataGrid that has a preview ToolTip similar to his ListBox example and one DataGrid that has a preview ToolTip with the item count.&amp;nbsp; I've also included a checkbox for changing the scrolling mode from live to defered (more on defered scrolling &lt;A class="" href="http://blogs.msdn.com/vinsibal/archive/2008/05/22/wpf-3-5-sp1-feature-non-live-scrolling.aspx" mce_href="http://blogs.msdn.com/vinsibal/archive/2008/05/22/wpf-3-5-sp1-feature-non-live-scrolling.aspx"&gt;here&lt;/A&gt;).&amp;nbsp; Check out the DataGrid sample &lt;A class="" href="http://blogs.msdn.com/vinsibal/attachment/8893902.ashx" mce_href="http://blogs.msdn.com/vinsibal/attachment/8893902.ashx"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/vinsibal/WindowsLiveWriter/WPFDataGridsampleAddapreviewToolTiptoaSc_6369/dataGridWithScrollPreview_2.jpg"&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=347 alt=dataGridWithScrollPreview src="http://blogs.msdn.com/blogfiles/vinsibal/WindowsLiveWriter/WPFDataGridsampleAddapreviewToolTiptoaSc_6369/dataGridWithScrollPreview_thumb.jpg" width=773 border=0&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8893902" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/vinsibal/attachment/8893902.ashx" length="1204098" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/vinsibal/archive/tags/Non-live+Scrolling/default.aspx">Non-live Scrolling</category><category domain="http://blogs.msdn.com/vinsibal/archive/tags/DataGrid/default.aspx">DataGrid</category><category domain="http://blogs.msdn.com/vinsibal/archive/tags/ToolTip/default.aspx">ToolTip</category><category domain="http://blogs.msdn.com/vinsibal/archive/tags/DataGrid+Samples/default.aspx">DataGrid Samples</category></item></channel></rss>