C# Class SilverlightFX.UserInterface.XToolTipService

A ToolTipService implementation that allows the contents of the tooltip to share the DataContext of the element that the tooltip is associated with, and thereby contain binding expressions.
Afficher le fichier Open project: nikhilk/silverlightfx

Méthodes publiques

Свойство Type Description
ToolTipProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
GetToolTip ( FrameworkElement element ) : object

Gets the Tooltip associated with the specified element.

SetToolTip ( FrameworkElement element, object value ) : void

Sets the Tooltip associated with the specified element.

Private Methods

Méthode Description
OnElementLoaded ( object sender, RoutedEventArgs e ) : void
OnToolTipChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

GetToolTip() public static méthode

Gets the Tooltip associated with the specified element.
public static GetToolTip ( FrameworkElement element ) : object
element System.Windows.FrameworkElement The element to lookup.
Résultat object

SetToolTip() public static méthode

Sets the Tooltip associated with the specified element.
public static SetToolTip ( FrameworkElement element, object value ) : void
element System.Windows.FrameworkElement The element whose tooltip is to be set.
value object The tooltip to use.
Résultat void

Property Details

ToolTipProperty public_oe static_oe property

Represents the ToolTip attached property.
public static DependencyProperty,System.Windows ToolTipProperty
Résultat System.Windows.DependencyProperty