Skip to main content

TabControlScrollView.CanScroll Property

Gets whether the Header Panel can be scrolled.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool CanScroll { get; }

Property Value

Type Description
Boolean

true if the Header Panel can be scrolled; otherwise, false.

Remarks

Scrolling is available if at least one header is not completely visible. To obtain whether the Header Panel can be scrolled forward or backward, use the TabControlScrollView.CanScrollNext and TabControlScrollView.CanScrollPrev properties, respectively.

To scroll the Header Panel in code, use the TabControlScrollView.ScrollNext, TabControlScrollView.ScrollPrev, TabControlScrollView.ScrollFirst, TabControlScrollView.ScrollLast and TabControlScrollView.ScrollToSelectedTabItem methods.

See Also