Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TabControlScrollView.CanScroll Property

Gets whether the Header Panel can be scrolled.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.2.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