Class ScreenTip
Shows a screen tip for each of the RibbonView buttons.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.RibbonView.dll
Syntax
[Themable]
public class ScreenTip : ToolTip, IThemable
Constructors
ScreenTip()
Fields
DescriptionProperty
Identifies the Description property.
Declaration
public static readonly DependencyProperty DescriptionProperty
Field Value
System.Windows.DependencyProperty
|
IconProperty
Identifies the Icon property.
Declaration
public static readonly DependencyProperty IconProperty
Field Value
System.Windows.DependencyProperty
|
TitleProperty
Identifies the Title property.
Declaration
public static readonly DependencyProperty TitleProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Description
Gets or sets the description.
Declaration
public string Description { get; set; }
Property Value
System.String
The description. |
Icon
Gets or sets the icon.
Declaration
public ImageSource Icon { get; set; }
Property Value
System.Windows.Media.ImageSource
The icon. |
Title
Gets or sets the title.
Declaration
public string Title { get; set; }
Property Value
System.String
The title. |
Methods
GetDescription(UIElement)
Gets the description connected to a specified UIElement.
Declaration
public static string GetDescription(UIElement element)
Parameters
System.Windows.UIElement
element
The element. |
Returns
System.String
|
GetIcon(UIElement)
Gets the icon connected to a specified UIElement.
Declaration
public static ImageSource GetIcon(UIElement element)
Parameters
System.Windows.UIElement
element
The element. |
Returns
System.Windows.Media.ImageSource
|
GetTitle(UIElement)
Gets the title connected to a specified UIElement.
Declaration
public static string GetTitle(UIElement element)
Parameters
System.Windows.UIElement
element
The element. |
Returns
System.String
|
OnApplyTemplate()
Builds the visual tree for the System.Windows.Controls.ToolTip when a new template is applied.
Declaration
public override void OnApplyTemplate()
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()
SetDescription(UIElement, String)
Sets the value of the description connected to a specified UIElement.
Declaration
public static void SetDescription(UIElement element, string value)
Parameters
System.Windows.UIElement
element
The element. |
System.String
value
The value. |
SetIcon(UIElement, ImageSource)
Sets the value of the icon connected to a specified UIElement.
Declaration
public static void SetIcon(UIElement element, ImageSource value)
Parameters
System.Windows.UIElement
element
The element. |
System.Windows.Media.ImageSource
value
The value. |
SetTitle(UIElement, String)
Sets the value of the title connected to a specified UIElement.
Declaration
public static void SetTitle(UIElement element, string value)
Parameters
System.Windows.UIElement
element
The element. |
System.String
value
The value. |