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
BetweenShowDelayProperty
Identifies the BetweenShowDelay property.
Declaration
public static readonly DependencyProperty BetweenShowDelayProperty
Field Value
System.Windows.DependencyProperty
|
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
|
InitialShowDelayProperty
Identifies the InitialShowDelay property.
Declaration
public static readonly DependencyProperty InitialShowDelayProperty
Field Value
System.Windows.DependencyProperty
|
ScreenTipStateProperty
Identifies the ScreenTipState property.
Declaration
public static readonly DependencyProperty ScreenTipStateProperty
Field Value
System.Windows.DependencyProperty
|
ShowDurationProperty
Identifies the ShowDuration property.
Declaration
public static readonly DependencyProperty ShowDurationProperty
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. |
ScreenTipState
Gets or sets the ScreenTipState.
Declaration
public ScreenTipState ScreenTipState { get; set; }
Property Value
ScreenTipState
The ScreenTipState. |
Title
Gets or sets the title.
Declaration
public string Title { get; set; }
Property Value
System.String
The title. |
Methods
GetBetweenShowDelay(DependencyObject)
Gets the BetweenShowDelay connected to a specified UIElement.
Declaration
public static int GetBetweenShowDelay(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Int32
|
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
|
GetInitialShowDelay(DependencyObject)
Gets the InitialShowDelay connected to a specified UIElement.
Declaration
public static int GetInitialShowDelay(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Int32
|
GetShowDuration(DependencyObject)
Gets the ShowDuration connected to a specified UIElement.
Declaration
public static int GetShowDuration(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Int32
|
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()
OnInitialized(EventArgs)
Called when the control has been initialized.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
|
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()
SetBetweenShowDelay(DependencyObject, Int32)
Sets the BetweenShowDelay connected to a specified UIElement.
Declaration
public static void SetBetweenShowDelay(DependencyObject obj, int value)
Parameters
System.Windows.DependencyObject
obj
|
System.Int32
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
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. |
SetInitialShowDelay(DependencyObject, Int32)
Sets the InitialShowDelay connected to a specified UIElement.
Declaration
public static void SetInitialShowDelay(DependencyObject obj, int value)
Parameters
System.Windows.DependencyObject
obj
|
System.Int32
value
|
SetShowDuration(DependencyObject, Int32)
Sets the ShowDuration connected to a specified UIElement.
Declaration
public static void SetShowDuration(DependencyObject obj, int value)
Parameters
System.Windows.DependencyObject
obj
|
System.Int32
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. |