Share via


RibbonMenuItem.ToolTipImageSource Property

Gets or sets the image that is displayed in the ToolTip for this control.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Property ToolTipImageSource As ImageSource
public ImageSource ToolTipImageSource { get; set; }
public:
property ImageSource^ ToolTipImageSource {
    ImageSource^ get ();
    void set (ImageSource^ value);
}
member ToolTipImageSource : ImageSource with get, set
function get ToolTipImageSource () : ImageSource
function set ToolTipImageSource (value : ImageSource)

Property Value

Type: System.Windows.Media.ImageSource
The image to display in the ToolTip. The registered default is nulla null reference (Nothing in Visual Basic). For more information about what can influence the value, see Dependency Property Value Precedence.

Dependency Property Information

Identifier field

ToolTipImageSourceProperty

Metadata properties set to true

None

Remarks

Caution noteCaution

Each ribbon control inherits a FrameworkElement.ToolTip property. If the FrameworkElement.ToolTip property is set, the ribbon’s enhanced ToolTip will not be shown; the standard ToolTip will be shown instead.

.NET Framework Security

See Also

Reference

RibbonMenuItem Class

Microsoft.Windows.Controls.Ribbon Namespace

RibbonToolTip