API Reference
Command
New-HtmlXTableConditionGroup
Combines multiple conditions into a logical group.
Remarks
Use inside New-HtmlXTable { }.
Examples
New-HtmlXTableConditionGroup -Logic And {
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-HtmlXTableConditionGroup [-Conditions <ScriptBlock>] [-BackgroundColor <string>] [-Color <string>] [-FailBackgroundColor <string>] [-FailColor <string>] [-HighlightHeaders <string[]>] [-HighlightParent] [-Logic <And|Or>] [-Row] [<CommonParameters>]#Parameters
- Conditions ScriptBlock
- Scriptblock that returns TableConditionOption objects.
- BackgroundColor string
- Background color when the group condition matches.
- Color string
- Text color when the group condition matches.
- FailBackgroundColor string
- Background color when the group condition fails.
- FailColor string
- Text color when the group condition fails.
- HighlightHeaders string[]
- Explicit headers to highlight instead of the condition column.
- HighlightParent SwitchParameter
- When highlighting cells, also apply styling to the parent element.
- Logic TableConditionLogic
- Logical operator applied between conditions. Possible values: And, Or, None
- Possible values:
And,Or - Row SwitchParameter
- Apply formatting to the entire row.
Outputs
HtmlForgeX.DslOptions.Tables.TableConditionGroupOption