New to Telerik UI for WPFStart a free 30-day trial

Shows a screen tip for each of the RibbonView buttons.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.RibbonView.dll

Syntax:

C#
[Themable]
public class ScreenTip : ToolTip

Inheritance: objectScreenTip

Constructors

Initializes a new instance of the ScreenTip class.

C#
public ScreenTip()

Fields

BetweenShowDelayProperty

DependencyProperty

Identifies the BetweenShowDelay property.

C#
public static readonly DependencyProperty BetweenShowDelayProperty

DescriptionProperty

DependencyProperty

Identifies the Description property.

C#
public static readonly DependencyProperty DescriptionProperty

IconProperty

DependencyProperty

Identifies the Icon property.

C#
public static readonly DependencyProperty IconProperty

InitialShowDelayProperty

DependencyProperty

Identifies the InitialShowDelay property.

C#
public static readonly DependencyProperty InitialShowDelayProperty

ScreenTipStateProperty

DependencyProperty

Identifies the ScreenTipState property.

C#
public static readonly DependencyProperty ScreenTipStateProperty

ShowDurationProperty

DependencyProperty

Identifies the ShowDuration property.

C#
public static readonly DependencyProperty ShowDurationProperty

TitleProperty

DependencyProperty

Identifies the Title property.

C#
public static readonly DependencyProperty TitleProperty

Properties

Gets or sets the description.

C#
public string Description { get; set; }
Property Value:

The description.

Icon

ImageSource

Gets or sets the icon.

C#
public ImageSource Icon { get; set; }
Property Value:

The icon.

Gets or sets the ScreenTipState.

C#
public ScreenTipState ScreenTipState { get; set; }
Property Value:

The ScreenTipState.

Gets or sets the title.

C#
public string Title { get; set; }
Property Value:

The title.

Methods

Gets the BetweenShowDelay connected to a specified UIElement.

C#
public static int GetBetweenShowDelay(DependencyObject obj)
Parameters:objDependencyObjectReturns:

int

Gets the description connected to a specified UIElement.

C#
public static string GetDescription(UIElement element)
Parameters:elementUIElement

The element.

Returns:

string

Gets the icon connected to a specified UIElement.

C#
public static ImageSource GetIcon(UIElement element)
Parameters:elementUIElement

The element.

Returns:

ImageSource

Gets the InitialShowDelay connected to a specified UIElement.

C#
public static int GetInitialShowDelay(DependencyObject obj)
Parameters:objDependencyObjectReturns:

int

Gets the ShowDuration connected to a specified UIElement.

C#
public static int GetShowDuration(DependencyObject obj)
Parameters:objDependencyObjectReturns:

int

Gets the title connected to a specified UIElement.

C#
public static string GetTitle(UIElement element)
Parameters:elementUIElement

The element.

Returns:

string

Builds the visual tree for the ToolTip when a new template is applied.

C#
public override void OnApplyTemplate()

Called when the control has been initialized.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

Resets the theme.

C#
public void ResetTheme()

Sets the BetweenShowDelay connected to a specified UIElement.

C#
public static void SetBetweenShowDelay(DependencyObject obj, int value)
Parameters:objDependencyObjectvalueint

Sets the value of the description connected to a specified UIElement.

C#
public static void SetDescription(UIElement element, string value)
Parameters:elementUIElement

The element.

valuestring

The value.

Sets the value of the icon connected to a specified UIElement.

C#
public static void SetIcon(UIElement element, ImageSource value)
Parameters:elementUIElement

The element.

valueImageSource

The value.

Sets the InitialShowDelay connected to a specified UIElement.

C#
public static void SetInitialShowDelay(DependencyObject obj, int value)
Parameters:objDependencyObjectvalueint

Sets the ShowDuration connected to a specified UIElement.

C#
public static void SetShowDuration(DependencyObject obj, int value)
Parameters:objDependencyObjectvalueint

Sets the value of the title connected to a specified UIElement.

C#
public static void SetTitle(UIElement element, string value)
Parameters:elementUIElement

The element.

valuestring

The value.