'宣言 Public Property ShowTitleToolTips As DefaultableBoolean
public DefaultableBoolean ShowTitleToolTips {get; set;}
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.Misc Imports Infragistics.Win.FormattedLinkLabel Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button1.Click ' The following formatted text has a link that contains a title tooltip. By ' default when the mouse hovers over the link, value specified for the 'title' ' attribute will be displayed in a tooltip. You can use the ShowTitleToolTips ' to disable showing of the title tooltips. Me.ultraFormattedLinkLabel1.Value = _ "<a href=""http://www.infragistics.com"" title=""Click here."">Infragistics Inc.</a>" ' Disable displaying title tooltips. Me.UltraFormattedLinkLabel1.ShowTitleToolTips = False End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.Misc; using Infragistics.Win.FormattedLinkLabel; using System.Diagnostics; private void button1_Click(object sender, System.EventArgs e) { // The following formatted text has a link that contains a title tooltip. By // default when the mouse hovers over the link, value specified for the 'title' // attribute will be displayed in a tooltip. You can use the ShowTitleToolTips // to disable showing of the title tooltips. this.ultraFormattedLinkLabel1.Value = @"<a href=""http://www.infragistics.com"" title=""Click here."">Infragistics Inc.</a>"; // Disable displaying title tooltips. this.ultraFormattedLinkLabel1.ShowTitleToolTips = false; }