Everything SharePoint and XAML

My continuous learning of SharePoint, XAML, Silverlight, Windows Phone 7, Windows 8, Office, VSTO, C#…

Silverlight: Tooltip for each ListBox item

Posted by Steve Pietrek on January 13, 2010

Below is a code example of defining a tooltip for each ListBox item.

     <TextBlock Text="{Binding Summary}" Style="{StaticResource TooltipFont}"/>
   <HyperlinkButton NavigateUri="{Binding DisplayLinkUrl}" TargetName="_blank" BorderThickness="0">
    <TextBlock Text="{Binding Published, Converter={StaticResource ShortDateConverter}}" Style="{StaticResource TitleFont}"/>
   <TextBlock Text="{Binding TruncSummary}" Style="{StaticResource SummaryFont}"/>

Sorry, the comment form is closed at this time.


Get every new post delivered to your Inbox.

%d bloggers like this: