Skip to main content

TabControlScrollView.ScrollToSelectedTabItem() Method

In This Article

Scrolls the Header Panel to the selected tab item.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

public virtual void ScrollToSelectedTabItem()

#Remarks

The ScrollToSelectedTabItem method scrolls the Header Panel to make the selected tab header visible. If it is already visible, this method does nothing. To obtain whether the selected tab header is visible, use the TabControlScrollView.CanScrollToSelectedTabItem property.

To scroll the Header Panel to the next or the previous tab header, use the TabControlScrollView.ScrollNext and TabControlScrollView.ScrollPrev methods, respectively. To scroll the Panel to the first or the last header, use the TabControlScrollView.ScrollFirst and TabControlScrollView.ScrollLast methods, respectively.

See Also