ReadonlyactiveEmits the active tab ID whenever the active tab changes.
Emits null when no tab is active.
ReadonlysideEmits true when Side-by-Side mode is enabled, false when it is disabled.
Readonlytabs$Emits the full, up-to-date list of open tabs whenever it changes. Includes tab name, active state, SBS state and unsaved-changes flag.
Close one side of the active SBS tab.
Respects unsaved-changes dialogs, identical to the built-in tab bar behaviour.
Visual position: 0 = left, 1 = right
Close the tab with the given ID.
Applies the same unsaved-changes confirmation logic as the built-in tab bar: if the document has unsaved changes the user is prompted to save or discard before the tab is closed.
Returns the currently active tab ID, or null if none.
Returns the current snapshot of all open tabs.
Returns true if the active tab is currently in Side-by-Side mode.
Swap the left and right views in Side-by-Side mode. No-op if SBS is not active.
Split the current SBS tab into two independent tabs (one per document currently displayed). No-op if SBS is not active.
Enable or disable Side-by-Side mode for the active tab.
true to enter SBS, false to exit SBS
Switch to (activate) the tab with the given ID. Handles SBS state restoration for previously visited SBS tabs.
Public API surface for building a custom document tab bar.
Obtained via the
documentTabsproperty on the IPdfEditorResult returned byPdfEditor(). Available regardless of whether the built-in tab bar is visible.Example