TX Text Control .NET for Windows Forms

ScrollTo Method

Method|Introduced in 24.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Scrolls the contents of the RibbonListView to a specified RibbonListViewItem.

Syntax

public void ScrollTo(RibbonListView.RibbonListViewItem item);

Parameters

ParameterDescription
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.");