Control catalog
This catalog lists the public controls in Fluence.Wpf.Controls. Add xmlns:fluence="http://schemas.fluencewpf.com" in XAML and call ApplicationThemeManager.Apply before creating the first window. The gallery groups live examples by task. The C# API reference documents each type's constructors, properties, methods, and events. Follow the Basic walkthrough for a runnable XAML example.
Window and application shell
| Type | Use it for | Start here |
|---|---|---|
| FluenceWindow | WPF window with a Fluent title bar, caption controls, backdrop policy, and corner preference | Window guide |
| TitleBar | Title, back request, pane toggle request, and custom title-area content | Gallery shell |
Actions and selection
| Types | Use them for | Main behavior |
|---|---|---|
| Button, HyperlinkButton, AppBarButton, RepeatButton | Commands and repeated actions | WPF command and click patterns |
| ToggleButton, ToggleSwitch | On/off and optional indeterminate state | Checked state; ToggleSwitch exposes a switch presentation |
| DropDownButton, SplitButton, ToggleSplitButton | Primary action with a flyout | Flyout opening; toggle split button also reports IsCheckedChanged |
| CheckBox, RadioButton | Independent or exclusive choices | Standard WPF checked state |
| Slider, RatingControl | Select a value or give a rating | Value and change events |
Text, forms, and pickers
| Types | Use them for | Key detail |
|---|---|---|
| TextBox, AutoSuggestBox | Text entry and suggestions | PlaceholderText; query and suggestion events on AutoSuggestBox |
Native WPF PasswordBox with PasswordBoxExtensions | Password entry | The native sealed control gets an implicit Fluence style and attached properties |
| NumberBox | Numeric entry with spin behavior | Value, ValueChanged, spin placement options |
| ComboBox | Choose from a drop-down list | ItemsSource collections, selection, editable text, and placeholder support |
| DatePicker, TimePicker | Choose a date or time | Dedicated selected-value properties and changed events |
| ColorPicker | Choose a color | Color, ColorChanged |
Give each editor a visible label and connect it with AutomationProperties.LabeledBy="{Binding ElementName=FieldLabel}", where FieldLabel names the label element. Put supplementary instructions in AutomationProperties.HelpText. This composition works for Fluence TextBox and native WPF PasswordBox; a placeholder does not replace the field label.
Navigation and tabs
| Types | Use them for | Main behavior |
|---|---|---|
| NavigationView, NavigationViewItem, NavigationViewItemHeader, NavigationViewItemSeparator | Application destinations in a left or top pane | ItemInvoked, BackRequested, PaneDisplayMode, FooterMenuItems |
| BreadcrumbBar, BreadcrumbBarItem | Location hierarchy | ItemClicked |
| PipsPager | A compact sequence of pages | SelectedIndexChanged |
| SelectorBar, SelectorBarItem | A compact choice among views | WPF selection model |
| SlideNavigationPresenter | Transition between navigation content | Slide transition effect |
| TabView, TabViewItem | Document-like tabs | Add and close requests; TabWidthMode |
Data, collections, and people
| Types | Use them for | Key detail |
|---|---|---|
| ListBox, ListBoxItem, ListView | Data-bound item lists | Familiar WPF items, templates, and selection; ListView.ItemsLayout chooses layout |
| TreeView, TreeViewItem | Hierarchical collections | Expansion and selection. In Multiple mode, a collapsed branch's check or uncheck applies to data-bound descendants as their containers are generated, and SelectedItems updates in place. |
| DataGrid | Tables with sorting, grouping, editing, and validation | WPF columns, sorting, and editing; ICollectionView for grouping and filtering |
| PersonPicture | Initials or avatar imagery | Person representation |
Menus, flyouts, and dialogs
| Types | Use them for | Main behavior |
|---|---|---|
| Menu, MenuItem, ContextMenu, ToolTip | Conventional menus and hints | WPF menu and popup interactions |
| FlyoutBase, Flyout, FlyoutPresenter | Attached or programmatic anchored content | ShowAt, Hide, opening and closing events |
| CommandBarFlyout, CommandBarFlyoutPresenter | A flyout with command actions | Provides command buttons in a popup |
| TeachingTip | Contextual instruction anchored to UI | IsOpen, action and close events |
| ContentDialog | Modal decision inside an owner window | ShowAsync, result enum, button click events |
Status and layout
| Types | Use them for | Main behavior |
|---|---|---|
| InfoBar, InfoBadge | Inline message or compact status | Severity/style and open or close behavior |
| ProgressBar, ProgressRing | Determinate or indeterminate progress | Progress value or ring state |
| AcrylicElement | In-app translucent content surface | Blurs an explicit same-window visual behind sharp content and uses a solid fallback when needed |
| Card | Passive or clickable content panel | IsClickable enables its Click event |
| Border, StackPanel, DockPanel, Separator, Expander | Layout and grouped content | WPF layout patterns with Fluent defaults |
| SmoothScrollViewer, ScrollBarExtensions | Scrolling and native scroll bar behavior | Smooth scrolling and attached extensions |
Text, icons, and images
| Types | Use them for | Key detail |
|---|---|---|
| TextBlock, TextBlockExtensions | Fluent typography | Fluence TextBlock is a templated ContentControl; extensions also serve native text |
| FontIcon | Segoe Fluent icon glyphs | Set Glyph and optional icon font size |
| Image | Images with templated corner clipping | Not a subclass of native WPF Image |
Accessibility and extensibility
Custom controls expose UI Automation peers under Fluence.Wpf.Automation. The gallery includes focus, keyboard, high contrast, and right-to-left examples. Use the accessibility reference when checking an interaction. Fluence.Wpf.Markup adds ThemeResourceExtension and theme dictionaries for app-authored theme values; see the theme guide.
The Fluence.Wpf namespace also contains theme managers, enums, and typed event arguments used by these controls. The API reference explains where to look them up.
Acrylic materials
Apply the theme before creating the first window. Place an explicit backdrop source and every acrylic output in the same WPF window, with the source in a separate sibling subtree. This example uses a fixed recipe for the decorative Border.Background surface on the left and a published Light/Dark recipe for the content host on the right.
<Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:fluence="http://schemas.fluencewpf.com"
MinHeight="160">
<Grid.Resources>
<fluence:AcrylicMaterialRecipe x:Key="FixedAcrylic"
TintColor="#CCFFFFFF"
TintOpacity="1"
FallbackColor="#FFF9F9F9" />
</Grid.Resources>
<Grid x:Name="BackdropRoot" Background="DarkSlateBlue">
<Rectangle Width="160" HorizontalAlignment="Left" Fill="Coral" />
<Rectangle Width="160" HorizontalAlignment="Right" Fill="MediumAquamarine" />
</Grid>
<Grid Margin="24">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Border Grid.Column="0" Margin="8"
Background="{fluence:AcrylicBrush BackdropSourceName=BackdropRoot, Recipe={StaticResource FixedAcrylic}}" />
<fluence:AcrylicElement Grid.Column="1" Margin="8" Padding="20"
BackdropSource="{Binding ElementName=BackdropRoot}"
Recipe="{DynamicResource AcrylicInAppDefaultRecipe}">
<TextBlock Foreground="{DynamicResource TextFillColorPrimaryBrush}" Text="Theme-aware host" />
</fluence:AcrylicElement>
</Grid>
</Grid>
The direct extension creates a separate VisualBrush for each concrete Border.Background, Rectangle.Fill, or Ellipse.Fill use. Its StaticResource recipe is fixed for that use; a markup-extension property cannot take a live DynamicResource. Set DynamicResource on the host's Recipe property to follow theme and accent changes for the published neutral and accent recipes. The five recipe values are TintColor, TintOpacity, TintLuminosityOpacity (null for automatic), FallbackColor, and AlwaysUseFallback. The host exposes read-only IsUsingFallback for a visible state indicator. Set AlwaysUseFallback on a recipe to request the solid mode. See theme resources for the published values.
| Source or target | Result |
|---|---|
Separate source and output siblings in one HwndSource, with translation or axis-aligned scale | Live in-app material when graphics and policy permit |
| Missing or detached source, source/host cycle, rotated or skewed mapping, or nonrectangular source clip | Opaque fallback |
Source in a Popup, another window, or an HwndHost airspace region | Opaque fallback; no desktop or cross-window sampling |
| Direct brush in a style setter, shared extension resource, or unsupported deferred target | Unsupported XAML target; use a concrete target or AcrylicElement |
High Contrast uses the live opaque system window color. Design mode, AlwaysUseFallback, disabled Windows transparency effects, Battery Saver or unknown power state, unsupported source or graphics, and blend/device failure use an opaque, noise-free fallback. Software rendering cannot run this PS 3.0 material shader. The material uses a WPF blur and blend approximation; exact WinUI acrylic pixel parity is unverified. Keep text and controls in the host content or an unaffected sibling, outside the backdrop effect. The PowerShell Controls Tour has a moving same-window source and fallback switch.
Windows Energy Saver can report a separate state from Battery Saver, so enabling Energy Saver may leave acrylic active. Set AlwaysUseFallback to True on the recipe to keep the material disabled regardless of either setting.
Material is also bounded across all windows in the process: at most two live acrylic surfaces, at most 2,146,176 padded physical pixels for one surface, and at most 2,172,672 padded physical pixels for both together. The source map counts the visible target plus blur padding at its actual DPI. A host that exceeds either limit switches to its opaque, noise-free fallback and can recover when another host unloads, closes, shrinks, loses its source, or enters fallback. These limits contain the measured workload; they do not promise a frame rate. Budget releases queue a retry. Transitions switch directly between the material and its solid fallback. See the acrylic budget limits.