Class
ScreenTip

Shows a screen tip for each of the RibbonView buttons.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.RibbonView.dll

Syntax:

cs-api-definition
[Themable]
public class ScreenTip : ToolTip

Inheritance: objectScreenTip

Constructors

ScreenTip()

Initializes a new instance of the ScreenTip class.

Declaration

cs-api-definition
public ScreenTip()

Fields

BetweenShowDelayProperty

Identifies the BetweenShowDelay property.

Declaration

cs-api-definition
public static readonly DependencyProperty BetweenShowDelayProperty

Field Value

DependencyProperty

DescriptionProperty

Identifies the Description property.

Declaration

cs-api-definition
public static readonly DependencyProperty DescriptionProperty

Field Value

DependencyProperty

IconProperty

Identifies the Icon property.

Declaration

cs-api-definition
public static readonly DependencyProperty IconProperty

Field Value

DependencyProperty

InitialShowDelayProperty

Identifies the InitialShowDelay property.

Declaration

cs-api-definition
public static readonly DependencyProperty InitialShowDelayProperty

Field Value

DependencyProperty

ScreenTipStateProperty

Identifies the ScreenTipState property.

Declaration

cs-api-definition
public static readonly DependencyProperty ScreenTipStateProperty

Field Value

DependencyProperty

ShowDurationProperty

Identifies the ShowDuration property.

Declaration

cs-api-definition
public static readonly DependencyProperty ShowDurationProperty

Field Value

DependencyProperty

TitleProperty

Identifies the Title property.

Declaration

cs-api-definition
public static readonly DependencyProperty TitleProperty

Field Value

DependencyProperty

Properties

Description

Gets or sets the description.

Declaration

cs-api-definition
public string Description { get; set; }

Property Value

string

The description.

Icon

Gets or sets the icon.

Declaration

cs-api-definition
public ImageSource Icon { get; set; }

Property Value

ImageSource

The icon.

ScreenTipState

Gets or sets the ScreenTipState.

Declaration

cs-api-definition
public ScreenTipState ScreenTipState { get; set; }

Property Value

ScreenTipState

The ScreenTipState.

Title

Gets or sets the title.

Declaration

cs-api-definition
public string Title { get; set; }

Property Value

string

The title.

Methods

GetBetweenShowDelay(DependencyObject)

Gets the BetweenShowDelay connected to a specified UIElement.

Declaration

cs-api-definition
public static int GetBetweenShowDelay(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

int

GetDescription(UIElement)

Gets the description connected to a specified UIElement.

Declaration

cs-api-definition
public static string GetDescription(UIElement element)

Parameters

element

UIElement

The element.

Returns

string

GetIcon(UIElement)

Gets the icon connected to a specified UIElement.

Declaration

cs-api-definition
public static ImageSource GetIcon(UIElement element)

Parameters

element

UIElement

The element.

Returns

ImageSource

GetInitialShowDelay(DependencyObject)

Gets the InitialShowDelay connected to a specified UIElement.

Declaration

cs-api-definition
public static int GetInitialShowDelay(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

int

GetShowDuration(DependencyObject)

Gets the ShowDuration connected to a specified UIElement.

Declaration

cs-api-definition
public static int GetShowDuration(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

int

GetTitle(UIElement)

Gets the title connected to a specified UIElement.

Declaration

cs-api-definition
public static string GetTitle(UIElement element)

Parameters

element

UIElement

The element.

Returns

string

OnApplyTemplate()

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

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnInitialized(EventArgs)

Called when the control has been initialized.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()

SetBetweenShowDelay(DependencyObject, int)

Sets the BetweenShowDelay connected to a specified UIElement.

Declaration

cs-api-definition
public static void SetBetweenShowDelay(DependencyObject obj, int value)

Parameters

obj

DependencyObject

value

int

SetDescription(UIElement, string)

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

Declaration

cs-api-definition
public static void SetDescription(UIElement element, string value)

Parameters

element

UIElement

The element.

value

string

The value.

SetIcon(UIElement, ImageSource)

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

Declaration

cs-api-definition
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

cs-api-definition
public static void SetInitialShowDelay(DependencyObject obj, int value)

Parameters

obj

DependencyObject

value

int

SetShowDuration(DependencyObject, int)

Sets the ShowDuration connected to a specified UIElement.

Declaration

cs-api-definition
public static void SetShowDuration(DependencyObject obj, int value)

Parameters

obj

DependencyObject

value

int

SetTitle(UIElement, string)

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

Declaration

cs-api-definition
public static void SetTitle(UIElement element, string value)

Parameters

element

UIElement

The element.

value

string

The value.