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.
Exibir arquivo Open project: nikhilk/silverlightfx

Public Properties

Property Type Description
ToolTipProperty System.Windows.DependencyProperty

Public Methods

Method 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

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

Method Details

GetToolTip() public static method

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

SetToolTip() public static method

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.
return void

Property Details

ToolTipProperty public_oe static_oe property

Represents the ToolTip attached property.
public static DependencyProperty,System.Windows ToolTipProperty
return System.Windows.DependencyProperty