menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ScreenTip - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ScreenTip

    Represents a control that creates a pop-up window when the pointer hovers over a ribbon item to provide details about its functionality in the SfRibbon control.

    Inheritance
    System.Object
    ScreenTip
    Namespace: Syncfusion.UI.Xaml.Ribbon
    Assembly: Syncfusion.Ribbon.WinUI.dll
    Syntax
    public class ScreenTip : ToolTip
    Examples
       <ribbon:SfRibbon x:Name="sfRibbon" >
       <ribbon:SfRibbon.Tabs>
           <ribbon:RibbonTab Header = "Home" >
               <ribbon:RibbonGroup Header = "ClipBoard" >
                   <ribbon:RibbonSplitButton AllowedSizeModes = "Large" >
                       <ribbon:RibbonSplitButton.Icon>
                           <SymbolIcon Symbol = "Copy" />
                       </ribbon:RibbonSplitButton.Icon>
                       <ribbon:RibbonSplitButton.ScreenTip>
                           <ribbon:ScreenTip Title = "Copy" Content="Copy the selection and put it on the clipboard." Placement="Right" />
                       </ribbon:RibbonSplitButton.ScreenTip>                          
                   </ribbon:RibbonSplitButton>
                   <ribbon:RibbonDropDownButton>
                       <ribbon:RibbonDropDownButton.Icon>
                           <SymbolIcon Symbol = "Cut" />
                       </ ribbon:RibbonDropDownButton.Icon>
                       <ribbon:RibbonDropDownButton.ScreenTip>
                           <ribbon:ScreenTip Content = "Cut the selection and put it on the clipboard." Title="Cut" >
                           </ribbon:ScreenTip>
                       </ribbon:RibbonDropDownButton.ScreenTip>
                   </ribbon:RibbonDropDownButton>
                   <ribbon:RibbonButton>
                       <ribbon:RibbonButton.Icon>
                           <SymbolIcon Symbol = "Paste" />
                       </ ribbon:RibbonButton.Icon>
                       <ribbon:RibbonButton.ScreenTip>
                           <ribbon:ScreenTip Content = "Paste the contents of clipboard." Title="Paste">
    
                           </ribbon:ScreenTip>
                       </ribbon:RibbonButton.ScreenTip>
                   </ribbon:RibbonButton>
               </ribbon:RibbonGroup>
               <ribbon:RibbonGroup Header = "Font" >
                   < ribbon:RibbonComboBox>
                       <ribbon:RibbonComboBoxItem Content = "10" />
                       <ribbon:RibbonComboBoxItem Content = "15" IsSelected="True"/>
                       <ribbon:RibbonComboBoxItem Content = "20" />
                       <ribbon:RibbonComboBoxItem Content = "25" />
                       <ribbon:RibbonComboBox.ScreenTip>
                           <ribbon:ScreenTip Title = "Font Size" Content="It shows the list of font size"/>
                       </ribbon:RibbonComboBox.ScreenTip>
                   </ribbon:RibbonComboBox>
               </ribbon:RibbonGroup>
               <ribbon:RibbonGroup>
                   <ribbon:RibbonItemHost>
                       <ribbon:RibbonItemHost.ItemTemplate>
                           <DataTemplate>
                               <AutoSuggestBox PlaceholderText = "Search" />
                           </ DataTemplate >
                       </ ribbon:RibbonItemHost.ItemTemplate>
                       <ribbon:RibbonItemHost.ScreenTip>
                           <ribbon:ScreenTip Title = "AutoComplete" Content="To search anything"/>
                       </ribbon:RibbonItemHost.ScreenTip>
                   </ribbon:RibbonItemHost>
               </ribbon:RibbonGroup>
           </ribbon:RibbonTab>
           <ribbon:RibbonTab Header = "Insert" />
           < ribbon:RibbonTab Header = "View" />
           < ribbon:RibbonTab Header = "Layout" />
       </ ribbon:SfRibbon.Tabs>
    </ribbon:SfRibbon>

    Constructors

    ScreenTip()

    Initializes a new instance of the ScreenTip class.

    Declaration
    public ScreenTip()

    Fields

    ContentProperty

    Identifies the Content property.

    Declaration
    public static readonly DependencyProperty ContentProperty
    Field Value
    Type
    Microsoft.UI.Xaml.DependencyProperty

    ContentTemplateProperty

    Identifies the ContentTemplate property.

    Declaration
    public static readonly DependencyProperty ContentTemplateProperty
    Field Value
    Type
    Microsoft.UI.Xaml.DependencyProperty

    TitleProperty

    Identifies the Title property.

    Declaration
    public static readonly DependencyProperty TitleProperty
    Field Value
    Type
    Microsoft.UI.Xaml.DependencyProperty

    TitleTemplateProperty

    Identifies the TitleTemplate property.

    Declaration
    public static readonly DependencyProperty TitleTemplateProperty
    Field Value
    Type
    Microsoft.UI.Xaml.DependencyProperty

    Properties

    Content

    Gets or sets the content that appears in the ScreenTip.

    Declaration
    public object Content { get; set; }
    Property Value
    Type Description
    System.Object

    Text that will be displayed as tooltip content, default is empty string.

    ContentTemplate

    Gets or sets the data template used to display the content of the ScreenTip.

    Declaration
    public DataTemplate ContentTemplate { get; set; }
    Property Value
    Type Description
    Microsoft.UI.Xaml.DataTemplate

    The default value is null.

    Remarks

    The Content value is the data context of this DataTemplate.

    Title

    Gets or sets the title that appears in the ScreenTip.

    Declaration
    public object Title { get; set; }
    Property Value
    Type Description
    System.Object

    Text that will be displayed as tooltip title, default is empty string.

    TitleTemplate

    Gets or sets the data template used to display the title of the ScreenTip.

    Declaration
    public DataTemplate TitleTemplate { get; set; }
    Property Value
    Type Description
    Microsoft.UI.Xaml.DataTemplate

    The default value is null.

    Remarks

    The Title value is the data context of this DataTemplate.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved