Intersoft ClientUI Documentation
UXRibbonToolTip Class
Members 



Represents a control that creates a pop-up window to display information for elements in the ribbon control.
Syntax
<DescriptionAttribute("Represents a control that creates a pop-up window to display information for elements in the ribbon control.")>
<TemplatePartAttribute(Name="ImageElement", Type=System.Windows.Controls.Image)>
<TemplatePartAttribute(Name="HeaderElement", Type=System.Windows.Controls.ContentControl)>
<TemplatePartAttribute(Name="FooterElement", Type=System.Windows.Controls.ContentPresenter)>
<TemplatePartAttribute(Name="Root", Type=System.Windows.Controls.Border)>
Public Class UXRibbonToolTip 
   Inherits System.Windows.Controls.ToolTip
Dim instance As UXRibbonToolTip
[DescriptionAttribute("Represents a control that creates a pop-up window to display information for elements in the ribbon control.")]
[TemplatePartAttribute(Name="ImageElement", Type=System.Windows.Controls.Image)]
[TemplatePartAttribute(Name="HeaderElement", Type=System.Windows.Controls.ContentControl)]
[TemplatePartAttribute(Name="FooterElement", Type=System.Windows.Controls.ContentPresenter)]
[TemplatePartAttribute(Name="Root", Type=System.Windows.Controls.Border)]
public class UXRibbonToolTip : System.Windows.Controls.ToolTip 
[DescriptionAttribute("Represents a control that creates a pop-up window to display information for elements in the ribbon control.")]
[TemplatePartAttribute(Name="ImageElement", Type=System.Windows.Controls.Image)]
[TemplatePartAttribute(Name="HeaderElement", Type=System.Windows.Controls.ContentControl)]
[TemplatePartAttribute(Name="FooterElement", Type=System.Windows.Controls.ContentPresenter)]
[TemplatePartAttribute(Name="Root", Type=System.Windows.Controls.Border)]
public ref class UXRibbonToolTip : public System.Windows.Controls.ToolTip 
Remarks

Ribbon tooltip is an enhanced tooltip that supports four predefined content: header, body, image and footer. You can set the ribbon tooltip by specifying the UXRibbonToolTipService attached property on the desired controls. In addition to the ribbon-aware controls, the ribbon tooltip can also be set on any other controls that derive from Control class. When specified on ribbon-aware controls which are contained in a tab group, the tooltip will be automatically positioned under the ribbon.

The following list describes the properties that you can customize in the ribbon tooltip.

The following example shows how to configure the ribbon tooltip.

XAML
Copy Code
<Intersoft:UXRibbonButton Content="Cover Page" MinimumSize="Medium" 
                             Icon="/assets/icons/cover_page.png"
                             LargeIcon="/assets/icons/cover_page.png"
                             Intersoft:UXRibbonToolTipService.Header="Cover Page" 
                             Intersoft:UXRibbonToolTipService.Content="Insert a fully formatted cover page. You fill in the title, author, date, and other information."
                             Intersoft:UXRibbonToolTipService.ImageSource="/Intersoft.ClientUI.Samples.UXRibbon;component/Assets/Images/Doc/Item/insert_cover tooltip.png"
                             >
    <Intersoft:UXRibbonToolTipService.Footer>
        <StackPanel Orientation="Vertical">
            <Intersoft:UXSeparator />
            <StackPanel Orientation="Horizontal" Margin="0,4,0,2">
                <Image Source="/assets/icons/help.png" Width="16" Height="16" />
                <TextBlock Text="Press F1 for more help." Margin="2,0" VerticalAlignment="Center" />
            </StackPanel>
        </StackPanel>
    </Intersoft:UXRibbonToolTipService.Footer>
</Intersoft:UXRibbonButton>
        

The result looks like the following figure.

Notice that the ribbon tooltip is automatically displayed under the ribbon bar which conforms to the Office ribbon specifications.

To learn more about UXRibbonToolTip, see Customizing Ribbon Tooltip.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ContentControl
                  System.Windows.Controls.ToolTip
                     Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonToolTip

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXRibbonToolTip Members
Intersoft.Client.UI.Aqua.UXRibbon Namespace

Send Feedback