Gets or sets a value that indicates the scroll tip position.
<LocalizableAttribute(True)>
<FeatureAttribute(Name="Scroll", Version="v5.0")>
<DefaultValueAttribute()>
<SRCategoryAttribute("Appearance")>
<SRDescriptionAttribute("Indicates the alignment of the ToolTip when dragging the thumb button of the vertical scroll bar.")>
Public Property VerticalScrollTipAlignment As VerticalScrollTipAlignment
Dim instance As GcMultiRow
Dim value As VerticalScrollTipAlignment
instance.VerticalScrollTipAlignment = value
value = instance.VerticalScrollTipAlignment
[Localizable(true)]
[Feature(Name="Scroll", Version="v5.0")]
[DefaultValue()]
[SRCategory("Appearance")]
[SRDescription("Indicates the alignment of the ToolTip when dragging the thumb button of the vertical scroll bar.")]
public VerticalScrollTipAlignment VerticalScrollTipAlignment {get; set;}
Property Value
One of the
VerticalScrollTipAlignment values that indicates the scroll tip position. The default is
VerticalScrollTipAlignment.Default.
The following code example shows how to customize scroll tooltips when dragging the scroll bar. This code example is part of a larger example provided for the
ShowScrollTip property.
public ScrollDemo()
{
this.Text = "Scroll Tip Demo";
gcMultiRow.Dock = DockStyle.Fill;
gcMultiRow.ShowScrollTip = ScrollBars.Both;
gcMultiRow.Template = Template.CreateGridTemplate(10);
gcMultiRow.HorizontalScrollTipAlignment = HorizontalScrollTipAlignment.Right;
gcMultiRow.VerticalScrollTipAlignment = VerticalScrollTipAlignment.Bottom;
gcMultiRow.RowCount = 100;
this.gcMultiRow.ScrollTipTextNeeded += new EventHandler<ScrollTipTextNeededEventArgs>(gcMultiRow_ScrollTipTextNeeded);
this.Controls.Add(gcMultiRow);
}
Public Sub New()
Me.Text = "Scroll Tip Demo"
gcMultiRow.Dock = DockStyle.Fill
gcMultiRow.ShowScrollTip = ScrollBars.Both
gcMultiRow.HorizontalScrollTipAlignment = HorizontalScrollTipAlignment.Right
gcMultiRow.VerticalScrollTipAlignment = VerticalScrollTipAlignment.Bottom
gcMultiRow.Template = Template.CreateGridTemplate(10)
gcMultiRow.RowCount = 100
Me.Controls.Add(gcMultiRow)
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