ScrollTo Method
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Scrolls the contents of the RibbonListView to a specified RibbonListViewItem.
Syntax
public void ScrollTo(RibbonListView.RibbonListViewItem item);Public Sub ScrollTo(item As RibbonListView.RibbonListViewItem)Parameters
| Parameter | Description |
|---|---|
| item | The specified RibbonListViewItem where to scroll to. |
Examples
The following example moves the document view to the ribbon list view. The created object is then available to the surrounding document workflow.
ribbonListView.ScrollTo(new TXTextControl.Windows.Forms.Ribbon.RibbonListView.RibbonListViewItem());
Console.WriteLine("Ribbon List View is ready for use.");ribbonListView.ScrollTo(New TXTextControl.Windows.Forms.Ribbon.RibbonListView.RibbonListViewItem())
Console.WriteLine("Ribbon List View is ready for use.")