WPF Standard Control Demo App (.NET 10)
A Windows app that shows 36 WPF standard controls on .NET 10. Each control has its own page, with inputs that change its properties and a "Show Code" link that shows the XAML behind each section.
What the App Shows
The window lists the controls on the left in nine groups: Inputs, Layout, Display, List, Graphics, Selectors, Menu, Overlays, and Resizer. Selecting one opens its page. A page is split into sections, one for each property or feature. Each section puts input controls, such as a ComboBox of enum values, a Slider, or a CheckBox, next to the control being demonstrated, so the effect of a value shows as soon as it is changed.
"Show Code" under a section opens a popup with the XAML of the elements in that section. The text is not a separate copy that could drift from the app: the build embeds each page's XAML source in the executable, and the popup picks out the section's elements by x:Name at run time. What it shows is the markup that is running.
Styles
The controls being demonstrated keep the look of WPF's default styles, with one exception described below. The app does not set ThemeMode, so they use WPF's default Aero2 theme rather than Fluent. The app's shared styles, in nine ResourceDictionary files merged in App.xaml, all have an x:Key, so they apply only to elements that refer to them. Only the app's frame refers to them, such as the list of controls, the group boxes and expanders around sections, the sliders used as inputs, the "Show Code" link, and the code popup; the controls being demonstrated do not. None of them is an implicit style, so they do not reach those controls either.
A few pages add local styles of their own. Most of them set up the inputs or demonstrate a property, such as the spacing of the check boxes on the DataGrid page or its RowStyle and CellStyle samples. The exception is the DatePicker page: an implicit style there sets the vertical alignment and margin of the calendar button (PART_Button) on every DatePicker on the page, including the ones being demonstrated. These styles are part of each page's XAML in the repository.
Downloads and Requirements
The latest release on GitHub Releases, v1.0.0.0, has two ZIP files of the app, both for 64-bit Windows (earlier releases have one; the source code archives GitHub adds to every release are not counted):
- standalone: a self-contained single-file executable (about 59 MB). It includes the .NET runtime, so nothing else needs to be installed.
- without "standalone": a framework-dependent single-file executable (about 250 KB). It needs the .NET 10 Desktop Runtime.
The source targets net10.0-windows and opens as a .slnx solution in Visual Studio 2026.
Control Reference Pages
Detailed documentation for each control demonstrated in the app is available on the pages below. Each page covers the control's overview and an explanation of each property and its behavior. The behavior on every page was measured by running it on .NET 10 / Windows 11, and each page links to the code that measured it.
Inputs
TextBox
Text input, wrapping, character casing, max length and more.
PasswordBox
Password masking, caret brush, selection brush, max length.
Button
IsCancel, IsDefault, ClickMode, Command, CommandParameter.
RepeatButton
Delay and Interval for continuous click firing.
ToggleButton
IsChecked state (Null/False/True), IsThreeState.
CheckBox
IsChecked, IsThreeState, VerticalContentAlignment.
RadioButton
GroupName for mutual exclusivity, VerticalContentAlignment.
ComboBox
IsEditable, IsReadOnly, SelectedValue, DisplayMemberPath and more.
DatePicker
SelectedDate, DisplayDate range, FirstDayOfWeek, SelectedDateFormat.
Slider
Value range, orientation, tick marks, auto-tooltip and more.
Layout
Grid
Row/Column placement, spans, shared size groups, and sizing rules.
StackPanel
Orientation, background, Z-order.
WrapPanel
Orientation, ItemHeight, ItemWidth.
DockPanel
Dock attached property, LastChildFill.
UniformGrid
Columns, Rows, FirstColumn for even grid layouts.
Viewbox
Stretch and StretchDirection for scaling content.
ScrollViewer
Scrollbar visibility, deferred scrolling, scroll state properties.
Display
TextBlock
Text, wrapping, trimming, font properties, foreground, line height.
Label
Target (access key), content, font properties, border.
ProgressBar
IsIndeterminate mode, Orientation.
GroupBox
Header, content, padding, font properties, border.
Expander
IsExpanded, ExpandDirection, header, content, font properties.
List
ListBox
SelectionMode, DisplayMemberPath, SelectedValue, scrollbars.
ListView
GridView columns, AllowsColumnReorder, SelectionMode.
TreeView
IsExpanded, IsSelected, HierarchicalDataTemplate.
DataGrid
Comprehensive data table: AutoGenerateColumns, SelectionMode, editing, and more.
Graphics
Image
Source, Stretch, StretchDirection.
Canvas
Absolute positioning with Top/Left/Right/Bottom, ZIndex.
InkCanvas
EditingMode, drawing attributes, strokes.
Selectors
Menu
Menu
IsMainMenu, MenuItem properties: IsCheckable, Command, Icon.
ToolBar
Overflow items, Band/BandIndex, ToolBarTray orientation.
Overlays
ToolTip
Placement, timing (ToolTipService), appearance customization.
Popup
IsOpen, StaysOpen, Placement, PopupAnimation.
Resizer
Downloads & Repository
You can download the latest version or explore the source code on GitHub:
🚀 Download Pre-built .exe (GitHub Releases)
View GitHub Repository (Source Code)