PowerShell controls and dialogs
Choose the interface that gives your script the answer it needs. Images illustrate the type of interface; actual fields and options vary:
| Need | Start with |
|---|---|
| Show a message or ask Yes/No | Show-FluenceMessage |
| Ask for one value | Get-FluenceInput Illustrative form: ![]() |
| Ask for one or more list items | Show-FluenceListSelection ![]() |
| Collect several validated values | Show-FluenceDialog and New-FluencePrompt ![]() |
| Report work in progress | Show-FluenceProgress |
| Show a deployment restart choice | Show-FluenceRestartPrompt |
| Build a custom interface | Show-FluenceWindow ![]() |
| Show rows of PowerShell objects in a table | Show-FluenceWindow with a Fluence DataGrid; see Bind PowerShell objects to a DataGrid |
The input type reference lists prompt types, values, defaults, and validation behavior. The result object reference explains what commands return.
For examples, use the dialogs, forms, progress, and custom window walkthroughs. The ControlsTour example shows the visual surface. Browse the control catalog when you need underlying C# controls for a custom window.
Explore the Controls Tour
The Controls Tour script opens on Inputs and uses ten category buttons to switch between pages. It demonstrates the controls together with common variations and event handling. The examples are composed in a custom FluenceWindow; the prompt commands above remain the shorter choice when their built-in interaction fits your task.
| Category | Examples and variations |
|---|---|
| Inputs | Single-line and multiline text, search suggestions, password reveal and strength indicators, standard and editable choices, inline and compact number steppers, date selection, and 12-hour and 24-hour time. |
| Color | Full color picker with spectrum and channel controls, plus a selected-color readout. |
| Selection | Toggle, checked and indeterminate check boxes, radio buttons, toggle button, horizontal and vertical sliders, editable and read-only ratings, multiple-selection list and tree, and list and grid layouts. |
| Commands | Standard, accent, subtle, and disabled buttons; hyperlink and repeat buttons; drop-down, split, and toggle split buttons; flyouts, a command bar flyout, tooltips, menus, and context menus. |
| Data | A sortable DataGrid bound to five PowerShell objects, with row selection reported in a shared InfoBar; TabView tabs that can be added, closed, and pinned; BreadcrumbBar; PipsPager; SelectorBar; and SlideNavigationPresenter. |
| Navigation | NavigationView in Left, Top, and LeftCompact modes. |
| Status | Progress states, InfoBar severities, count, dot, and icon badges, and profile pictures. |
| Surfaces | ContentDialog with Save, Discard, and Cancel actions; TeachingTip; Expander; borders; TitleBar; and FlyoutPresenter. |
| Layout | DockPanel, StackPanel, separators, SmoothScrollViewer with themed scrollbar, icons, Image, typography, and all four Card styles. |
| Acrylic | Moving source colors and a solid fallback switch for an in-app acrylic surface. |
Use a prompt command such as Show-FluenceDialog when its supported prompts and result object match the interaction you need. Use Show-FluenceWindow when you need to arrange controls in your own XAML or create a different interaction with event handlers. The Windows from XAML guide explains those patterns.
On Acrylic, select Move source colors to see the backdrop change and Use solid fallback to switch it to an opaque fill. The current mode appears beside the sample. The Acrylic captures show the solid fallback selected. Add in-app acrylic to a custom window
Tour appearance by category
Each category has a Light and Dark capture. Expand a category to compare its page in both themes.
Inputs

Color

Selection

Commands

Data

Navigation

Status

Surfaces

Layout

Acrylic






