Skip to main content

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​

TypeUse it forStart here
FluenceWindowWPF window with a Fluent title bar, caption controls, backdrop policy, and corner preferenceWindow guide
TitleBarTitle, back request, pane toggle request, and custom title-area contentGallery shell

Actions and selection​

TypesUse them forMain behavior
Button, HyperlinkButton, AppBarButton, RepeatButtonCommands and repeated actionsWPF command and click patterns
ToggleButton, ToggleSwitchOn/off and optional indeterminate stateChecked state; ToggleSwitch exposes a switch presentation
DropDownButton, SplitButton, ToggleSplitButtonPrimary action with a flyoutFlyout opening; toggle split button also reports IsCheckedChanged
CheckBox, RadioButtonIndependent or exclusive choicesStandard WPF checked state
Slider, RatingControlSelect a value or give a ratingValue and change events

Text, forms, and pickers​

TypesUse them forKey detail
TextBox, AutoSuggestBoxText entry and suggestionsPlaceholderText; query and suggestion events on AutoSuggestBox
Native WPF PasswordBox with PasswordBoxExtensionsPassword entryThe native sealed control gets an implicit Fluence style and attached properties
NumberBoxNumeric entry with spin behaviorValue, ValueChanged, spin placement options
ComboBoxChoose from a drop-down listItemsSource collections, selection, editable text, and placeholder support
DatePicker, TimePickerChoose a date or timeDedicated selected-value properties and changed events
ColorPickerChoose a colorColor, 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.

TypesUse them forMain behavior
NavigationView, NavigationViewItem, NavigationViewItemHeader, NavigationViewItemSeparatorApplication destinations in a left or top paneItemInvoked, BackRequested, PaneDisplayMode, FooterMenuItems
BreadcrumbBar, BreadcrumbBarItemLocation hierarchyItemClicked
PipsPagerA compact sequence of pagesSelectedIndexChanged
SelectorBar, SelectorBarItemA compact choice among viewsWPF selection model
SlideNavigationPresenterTransition between navigation contentSlide transition effect
TabView, TabViewItemDocument-like tabsAdd and close requests; TabWidthMode

Data, collections, and people​

TypesUse them forKey detail
ListBox, ListBoxItem, ListViewData-bound item listsFamiliar WPF items, templates, and selection; ListView.ItemsLayout chooses layout
TreeView, TreeViewItemHierarchical collectionsExpansion 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.
DataGridTables with sorting, grouping, editing, and validationWPF columns, sorting, and editing; ICollectionView for grouping and filtering
PersonPictureInitials or avatar imageryPerson representation
TypesUse them forMain behavior
Menu, MenuItem, ContextMenu, ToolTipConventional menus and hintsWPF menu and popup interactions
FlyoutBase, Flyout, FlyoutPresenterAttached or programmatic anchored contentShowAt, Hide, opening and closing events
CommandBarFlyout, CommandBarFlyoutPresenterA flyout with command actionsProvides command buttons in a popup
TeachingTipContextual instruction anchored to UIIsOpen, action and close events
ContentDialogModal decision inside an owner windowShowAsync, result enum, button click events

Status and layout​

TypesUse them forMain behavior
InfoBar, InfoBadgeInline message or compact statusSeverity/style and open or close behavior
ProgressBar, ProgressRingDeterminate or indeterminate progressProgress value or ring state
AcrylicElementIn-app translucent content surfaceBlurs an explicit same-window visual behind sharp content and uses a solid fallback when needed
CardPassive or clickable content panelIsClickable enables its Click event
Border, StackPanel, DockPanel, Separator, ExpanderLayout and grouped contentWPF layout patterns with Fluent defaults
SmoothScrollViewer, ScrollBarExtensionsScrolling and native scroll bar behaviorSmooth scrolling and attached extensions

Text, icons, and images​

TypesUse them forKey detail
TextBlock, TextBlockExtensionsFluent typographyFluence TextBlock is a templated ContentControl; extensions also serve native text
FontIconSegoe Fluent icon glyphsSet Glyph and optional icon font size
ImageImages with templated corner clippingNot 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 targetResult
Separate source and output siblings in one HwndSource, with translation or axis-aligned scaleLive in-app material when graphics and policy permit
Missing or detached source, source/host cycle, rotated or skewed mapping, or nonrectangular source clipOpaque fallback
Source in a Popup, another window, or an HwndHost airspace regionOpaque fallback; no desktop or cross-window sampling
Direct brush in a style setter, shared extension resource, or unsupported deferred targetUnsupported 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.