RibbonButton.ToolTipImageSource Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the image that is displayed in the ToolTip for this control.
public:
property System::Windows::Media::ImageSource ^ ToolTipImageSource { System::Windows::Media::ImageSource ^ get(); void set(System::Windows::Media::ImageSource ^ value); };
public System.Windows.Media.ImageSource ToolTipImageSource { get; set; }
member this.ToolTipImageSource : System.Windows.Media.ImageSource with get, set
Public Property ToolTipImageSource As ImageSource
The image to display in the ToolTip. The registered default is null
. For more information about what can influence the value, see Dependency Property Value Precedence.
The following example shows the markup used to create the enhanced ToolTip.
Enhanced ToolTip
<ribbon:RibbonButton Label="Ribbon Control"
SmallImageSource="Images/Lightbulb16.png"
LargeImageSource="Images/Lightbulb32.png"
KeyTip="N"
ToolTipTitle="Command Name (Ctrl+N)"
ToolTipDescription="All ribbon commands should have enhanced tooltips to give the command name, shortcut key, description, and optional supplemental information."
ToolTipImageSource="Images/Suggestion32.png"
ToolTipFooterTitle="Press F1 for Help"
ToolTipFooterDescription="When practical, completely describe the command using a concise description. Link to Help only if further explanation is really necessary."
ToolTipFooterImageSource="Images/Help16.png" />
경고
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.
Item | Value |
---|---|
Identifier field | ToolTipImageSourceProperty |
Metadata properties set to true |
None |
제품 | 버전 |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET 피드백
.NET은(는) 오픈 소스 프로젝트입니다. 다음 링크를 선택하여 피드백을 제공해 주세요.