Back to Devexpress

NavigatorButtonBase.Hint Property

windowsforms-devexpress-dot-xtraeditors-dot-navigatorbuttonbase-2ae135a1.md

latest2.7 KB
Original Source

NavigatorButtonBase.Hint Property

Gets or sets the button’s hint.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue("")]
[DXCategory("ToolTip")]
public string Hint { get; set; }
vb
<DefaultValue("")>
<DXCategory("ToolTip")>
Public Property Hint As String

Property Value

TypeDefaultDescription
StringString.Empty

A String value which represents the text displayed when the mouse pointer is over the button.

|

Remarks

The navigator can display hints if its NavigatorBase.ShowToolTips property is set to true.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Hint property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-grid-data-navigator-custom-button/CS/CustomButton/Form1.cs#L26

csharp
button.Tag = "copy";
button.Hint = "Copy to clipboard";
button.ImageIndex = 0;

winforms-grid-data-navigator-custom-button/VB/CustomButton/Form1.vb#L25

vb
button.Tag = "copy"
button.Hint = "Copy to clipboard"
button.ImageIndex = 0

See Also

ShowToolTips

NavigatorButtonBase Class

NavigatorButtonBase Members

DevExpress.XtraEditors Namespace