Skip to content
ChartForgeX
Command

New-ImageListBlock

Module imageplayground
Inputs
None
Outputs
ChartForgeX.VisualBlocks.ChartList

Creates a visual list block.

Syntax

New-ImageListBlock [-Checked <Boolean[]>] [-Dense] [-Height <Int32>] [-Item] <String[]> [-Marker <Bullet|Number|Check|Status>] [-Status <Neutral|Positive|Warning|Negative|Info>] [-Subtitle <String>] [-Theme <ChartTheme>] [-Title <String>] [-Value <String[]>] [-Width <Int32>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Authored help example

Create a checklist

New-ImageListBlock -Title 'Release' -Item Build,Test,Publish -Checked $true,$true,$false

Size a status list for a dashboard column

New-ImageListBlock -Title Checks -Item 'TLS expiry', Backups, 'Queue depth' -Value '41 days', OK, '1,204' -Status Positive, Positive, Warning -Width 300 -Height 270

Width and Height size the block without calling .NET methods on the result.

Parameters

-Checked Boolean[] optional
Optional checked states matching the item count.
-Dense SwitchParameter optional
Use compact row spacing.
-Height Int32 optional
Block height in pixels. The width keeps its default unless -Width is also supplied.
-Item String[] requiredposition: 0
List item text.
-Marker VisualListMarker optional
List marker style.
Possible values: Bullet, Number, Check, Status
-Status VisualStatus[] optional
Optional semantic statuses matching the item count.
Possible values: Neutral, Positive, Warning, Negative, Info
-Subtitle String optional
Optional block subtitle.
-Theme ChartTheme optional
ChartForgeX theme.
Possible values: Default, Dark, Light, Colorblind, Aurora, Editorial, Candy, PeopleInfographic, Terminal, TransparentOverlayDark, Minimal, DashboardLight, SaasDashboardLight, RestaurantDashboardLight
-Title String optional
Optional block title.
-Value String[] optional
Optional right-aligned values matching the item count.
-Width Int32 optional
Block width in pixels. The height keeps its default unless -Height is also supplied.

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.