GrapeCity.Win.MultiRow Namespace > ScrollTipTextNeededEventArgs Class : ScrollTipText Property |
Public Property ScrollTipText As String
Dim instance As ScrollTipTextNeededEventArgs Dim value As String instance.ScrollTipText = value value = instance.ScrollTipText
public string ScrollTipText {get; set;}
void gcMultiRow_ScrollTipTextNeeded(object sender, ScrollTipTextNeededEventArgs e) { if (e.Direction == Orientation.Horizontal) { e.ScrollTipText = "Scroll to " + e.ScrollBarValue.ToString() + " pixel"; } else { e.ScrollTipText = "Scroll to " + e.ScrollRowIndex.ToString() + " row"; } }
Private Sub gcMultiRow_ScrollTipTextNeeded(ByVal sender As Object, ByVal e As ScrollTipTextNeededEventArgs) Handles gcMultiRow.ScrollTipTextNeeded If e.Direction = Orientation.Horizontal Then e.ScrollTipText = "Scroll to " + e.ScrollBarValue.ToString() + " pixel" Else e.ScrollTipText = "Scroll to " + e.ScrollRowIndex.ToString() + " row" End If End Sub
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2