Skip to main content

PageHeader

The header of a ScaffoldPage: the page title, and commands at the end.

Example:

fluent.PageHeader(
title="Inbox",
command_bar=fluent.CommandBar(
primary_items=[
fluent.CommandBarButton(icon=fluent.FluentIcons.ADD, content="New")
]
),
)

Inherits: LayoutControl

Properties

Properties​

command_barclass-attributeinstance-attribute​

command_bar: Control | None = None

Commands shown at the end of the header, usually a CommandBar.

leadingclass-attributeinstance-attribute​

leading: Control | None = None

A control shown before title, such as a back button.

titleclass-attributeinstance-attribute​

title: StrOrControl | None = None

The title of the page, shown in large text.