API Reference
Command
New-HtmlXTableHeaderStyle
Applies styling to table header cells.
Remarks
Use inside New-HtmlXTable { }.
Examples
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
- Text alignment for header cells. Possible values: Left, Center, Right, Justify, Start, End
- Possible values:
Left,Center,Right,Justify,Start,End - BackgroundColor string
- Background color for header cells.
- Color string
- Text color for header cells.
- FontWeight DataTablesFontWeight
- 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