Tesserae

PivotSelector

Description

A control to select a pivot

PivotSelector is a variation of the Pivot component that uses a Dropdown for navigation. It is particularly effective for mobile-first designs or interfaces with a large number of tabs that would otherwise require excessive horizontal scrolling.

API reference

class

PivotSelector

public class PivotSelector : IComponent

A standalone tab-selector strip that drives an external , used when the strip needs to be positioned independently of its panels.

Constructors

Constructor
PivotSelector
public PivotSelector()

Initializes a new instance of this class.

Methods

Method
PivotSelector.OnBeforeNavigate
public PivotSelector OnBeforeNavigate(PivotEventHandler<PivotBeforeNavigateEvent> onBeforeNavigate)

Registers a callback invoked when the before navigate event fires.

Method
PivotSelector.OnNavigate
public PivotSelector OnNavigate(PivotEventHandler<PivotNavigateEvent> onNavigate)

Registers a callback invoked when the navigate event fires.

Method
PivotSelector.SetCommands
public PivotSelector SetCommands(params IComponent[] commands)

Sets the commands of the component.

Method
PivotSelector.Select
public PivotSelector Select(string id, bool refresh = false)

Configures the component to select.

Method
PivotSelector.Render
public HTMLElement Render()

Renders the component's root HTML element.

Samples

Basic PivotSelector

PivotSelector with custom buttons

PivotSelector with large number of tabs

See also

© 2026 Tesserae. All rights reserved.