ClassScreenTip
Shows a screen tip for each of the RibbonView buttons.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.RibbonView.dll
Syntax:
[Themable]
public class ScreenTip : ToolTip
Inheritance: objectScreenTip
Constructors
ScreenTip()
Initializes a new instance of the ScreenTip class.
Declaration
public ScreenTip()
Fields
BetweenShowDelayProperty
Identifies the BetweenShowDelay property.
Declaration
public static readonly DependencyProperty BetweenShowDelayProperty
Field Value
DependencyProperty
DescriptionProperty
Identifies the Description property.
Declaration
public static readonly DependencyProperty DescriptionProperty
Field Value
DependencyProperty
IconProperty
Identifies the Icon property.
Declaration
public static readonly DependencyProperty IconProperty
Field Value
DependencyProperty
InitialShowDelayProperty
Identifies the InitialShowDelay property.
Declaration
public static readonly DependencyProperty InitialShowDelayProperty
Field Value
DependencyProperty
ScreenTipStateProperty
Identifies the ScreenTipState property.
Declaration
public static readonly DependencyProperty ScreenTipStateProperty
Field Value
DependencyProperty
ShowDurationProperty
Identifies the ShowDuration property.
Declaration
public static readonly DependencyProperty ShowDurationProperty
Field Value
DependencyProperty
TitleProperty
Identifies the Title property.
Declaration
public static readonly DependencyProperty TitleProperty
Field Value
DependencyProperty
Properties
Description
Gets or sets the description.
Declaration
public string Description { get; set; }
Property Value
The description.
Icon
Gets or sets the icon.
Declaration
public ImageSource Icon { get; set; }
Property Value
ImageSource
The icon.
ScreenTipState
Gets or sets the ScreenTipState.
Declaration
public ScreenTipState ScreenTipState { get; set; }
Property Value
The ScreenTipState.
Methods
GetBetweenShowDelay(DependencyObject)
Gets the BetweenShowDelay connected to a specified UIElement.
Declaration
public static int GetBetweenShowDelay(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
GetDescription(UIElement)
Gets the description connected to a specified UIElement.
Declaration
public static string GetDescription(UIElement element)
Parameters
element
UIElement
The element.
Returns
GetIcon(UIElement)
Gets the icon connected to a specified UIElement.
Declaration
public static ImageSource GetIcon(UIElement element)
Parameters
element
UIElement
The element.
Returns
ImageSource
GetInitialShowDelay(DependencyObject)
Gets the InitialShowDelay connected to a specified UIElement.
Declaration
public static int GetInitialShowDelay(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
GetShowDuration(DependencyObject)
Gets the ShowDuration connected to a specified UIElement.
Declaration
public static int GetShowDuration(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
GetTitle(UIElement)
Gets the title connected to a specified UIElement.
Declaration
public static string GetTitle(UIElement element)
Parameters
element
UIElement
The element.
Returns
OnApplyTemplate()
Builds the visual tree for the ToolTip when a new template is applied.
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Called when the control has been initialized.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
SetBetweenShowDelay(DependencyObject, int)
Sets the BetweenShowDelay connected to a specified UIElement.
Declaration
public static void SetBetweenShowDelay(DependencyObject obj, int value)
Parameters
obj
DependencyObject
value
SetDescription(UIElement, string)
Sets the value of the description connected to a specified UIElement.
Declaration
public static void SetDescription(UIElement element, string value)
Parameters
element
UIElement
The element.
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
element
UIElement
The element.
value
ImageSource
The value.
SetInitialShowDelay(DependencyObject, int)
Sets the InitialShowDelay connected to a specified UIElement.
Declaration
public static void SetInitialShowDelay(DependencyObject obj, int value)
Parameters
obj
DependencyObject
value
SetShowDuration(DependencyObject, int)
Sets the ShowDuration connected to a specified UIElement.
Declaration
public static void SetShowDuration(DependencyObject obj, int value)
Parameters
obj
DependencyObject
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
element
UIElement
The element.
value
The value.