For the complete documentation index, see llms.txt. This page is also available as Markdown.

New-UDAppBar

Creates an AppBar.

Synopsis

Creates an AppBar.

Syntax

New-UDAppBar [[-Id] <String>] [[-Drawer] <Hashtable>] [[-Children] <ScriptBlock>] [[-Position] <String>] [-Footer] [-DisableThemeToggle] [[-ClassName] <String>] [[-Color] <String>] [<CommonParameters>]

Description

Creates an AppBar. This can be used to replace the built-in AppBar.

Parameters

-Id

The ID of the component. It defaults to a random GUID.

Required?                    false
Position?                    1
Default value                [Guid]::NewGuid()
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false

-Drawer

A drawer that can be opened from this AppBar. Use New-UDDrawer to create a drawer to pass to this parameter.

-Children

Children of this AppBar. The children of an AppBar are commonly text and buttons.

-Position

The position of this AppBar. A fixed position will override the default AppBar.

-ClassName

A CSS class to apply to the app bar.

-Color

The theme color to use for the app bar.

Outputs

-------------------------- EXAMPLE 1 --------------------------

Last updated

Was this helpful?