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