Search code examples
xamltooltipwpftoolkit

Mouseover my title in xaml


Hi all i'm new to this xaml code so excuse me if.i ask some stupid question. I have a title call conference with hyperlink that take you to conference paye and inside that conference page i have link and table in it.. All I want to so is to create à tooltip that will show the link and some info when the mouse is over it


Solution

  • Most elements in XAML have a ToolTip that you can set in XAML. Tool tips are automatically shown when the mouse hovers of the lement. You didn't specify what type of element your title is, but for this example I will use a Label.

    To specify a ToolTip, set up your element like this:

    <Label>
         <Label.ToolTip>
             <!-- put the elements you want in the tool tip in here -->
         </Label.ToolTip>
    </Label>
    

    Hope this helps put you on the right track