HtmlForgeX

API Reference

Command

New-HtmlXTableHeaderStyle

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.DslOptions.Tables.TableHeaderStyleOption

Applies styling to table header cells.

Remarks

Use inside New-HtmlXTable { }.

Examples

Imported script example

New-HtmlXTableHeaderStyle -BackgroundColor "MidnightBlue" -Color "White" -FontWeight Bold
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

New-HtmlXTableHeaderStyle [-Alignment <Left>] [-BackgroundColor <string>] [-Color <string>] [-FontWeight <Normal>] [<CommonParameters>]
#

Parameters

Alignment DataTablesTextAlign optionalposition: namedpipeline: falsevalues: 6
Text alignment for header cells. Possible values: Left, Center, Right, Justify, Start, End
Possible values: Left, Center, Right, Justify, Start, End
BackgroundColor string optionalposition: namedpipeline: false
Background color for header cells.
Color string optionalposition: namedpipeline: false
Text color for header cells.
FontWeight DataTablesFontWeight optionalposition: namedpipeline: falsevalues: 7
Font weight for header cells. Possible values: Normal, Bold, Light, SemiBold, ExtraBold, Lighter, Bolder
Possible values: Normal, Bold, Light, SemiBold, ExtraBold, Lighter, Bolder

Outputs

HtmlForgeX.DslOptions.Tables.TableHeaderStyleOption