[TabBar] Allow for easy customization of a selection indicator #460
Labels
kind/enhancement
New feature or request.
triage/untriaged
Indicates an issue requires triaging or verification.
In order to achieve certain scenarios such as a custom sliding selection indicator:
Or to simply customize the look of any given selection indicator, such as the default Material TopTabBarStyle's selection indicator:
We need to expose some properties that will allow us to inject any sort of content into the internal
TabBarSelectionIndicatorPresenter
Spec
Option 1 (as properties on
TabBar
)New TabBar Properties
object
DataTemplate
SelectionIndicatorContent
SelectionIndicatorTransitionMode
.Snap
,.Slide
Option 2 (as a standalone
ContentControl
)TabBarSelectionIndicator
Object
→DependencyObject
→UIElement
→FrameworkElement
→Control
→ContentControl
→TabBarSelectionIndicator
TransitionMode
.Snap
,.Slide
New
TabBar
PropertiesTabBarSelectionIndicator
TabBarItem
The text was updated successfully, but these errors were encountered: