In This Article

ScreenTip Class

Represents a popup that provides a screentip.

public class ScreenTip : ToolTip
Inheritance:
object Visual UIElement FrameworkElement Control ContentControl ToolTip object

Constructors

ScreenTip()

Initializes an instance of the class.

public ScreenTip()

Properties

Description

Gets or sets the description object.

public object Description { get; set; }

Property Value

object:

The description object.

Gets or sets the footer object.

public object Footer { get; set; }

Property Value

object:

The footer object.

Header

Gets or sets the header object.

public object Header { get; set; }

Property Value

object:

The header object.

HelpUri

Gets or sets the System.Uri specifying the location of context-sensitive help related to the owner element when F1 is pressed.

public Uri HelpUri { get; set; }

Property Value

Uri:

The System.Uri specifying the location of context-sensitive help related to the owner element when F1 is pressed.

ImageSource

Gets or sets the ImageSource for the image.

public ImageSource ImageSource { get; set; }

Property Value

ImageSource:

The ImageSource for the image.

IsDescriptionText

Gets whether the Description property value is a string.

public bool IsDescriptionText { get; }

Property Value

bool:

true if the Description property value is a string; otherwise, false.

IsFooterText

Gets whether the Footer property value is a string.

public bool IsFooterText { get; }

Property Value

bool:

true if the Footer property value is a string; otherwise, false.

IsHeaderText

Gets whether the Header property value is a string.

public bool IsHeaderText { get; }

Property Value

bool:

true if the Header property value is a string; otherwise, false.

KeyboardShortcut

Gets or sets the keyboard shortcut text.

public string KeyboardShortcut { get; set; }

Property Value

string:

The keyboard shortcut text.

OwnerElement

Gets or sets the UIElement that owns the screentip.

public UIElement OwnerElement { get; set; }

Property Value

UIElement:

The UIElement that owns the screentip.

Remarks

This property returns the element for which the screentip has been displayed.

Methods

OnCreateAutomationPeer()

Returns an AutomationPeer object for this control instance.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer:

An AutomationPeer instance.

Fields

DescriptionProperty

Identifies the Description dependency property. This field is read-only.

public static readonly DependencyProperty DescriptionProperty

FooterProperty

Identifies the Footer dependency property. This field is read-only.

public static readonly DependencyProperty FooterProperty

HeaderProperty

Identifies the Header dependency property. This field is read-only.

public static readonly DependencyProperty HeaderProperty

HelpUriProperty

Identifies the HelpUri dependency property. This field is read-only.

public static readonly DependencyProperty HelpUriProperty

ImageSourceProperty

Identifies the ImageSource dependency property. This field is read-only.

public static readonly DependencyProperty ImageSourceProperty

IsDescriptionTextProperty

Identifies the IsDescriptionText dependency property. This field is read-only.

public static readonly DependencyProperty IsDescriptionTextProperty

IsFooterTextProperty

Identifies the IsFooterText dependency property. This field is read-only.

public static readonly DependencyProperty IsFooterTextProperty

IsHeaderTextProperty

Identifies the IsHeaderText dependency property. This field is read-only.

public static readonly DependencyProperty IsHeaderTextProperty

KeyboardShortcutProperty

Identifies the KeyboardShortcut dependency property. This field is read-only.

public static readonly DependencyProperty KeyboardShortcutProperty