Skip to content

New-PWFCardHeader

Description

Create a card header.

SYNTAX

New-PWFCardHeader -Content <scriptblock> [-BackgroundColor <string>] [-Center <switch>]

EXAMPLES

EXAMPLE 1

New-PWFCardHeader -Content { ... } -BackgroundColor "#f9fafb"

EXAMPLE 2

New-PWFCardHeader -Content { ... } -Center

PARAMETERS

-Content

The content of the card's header.

Type: Scriptblock
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-BackgroundColor

An hexadecimal color with hash mark.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Center

Center.

Type: Switch
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False