Atc.Wpf.Theming 4.0.27

dotnet add package Atc.Wpf.Theming --version 4.0.27
                    
NuGet\Install-Package Atc.Wpf.Theming -Version 4.0.27
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Atc.Wpf.Theming" Version="4.0.27" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Atc.Wpf.Theming" Version="4.0.27" />
                    
Directory.Packages.props
<PackageReference Include="Atc.Wpf.Theming" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Atc.Wpf.Theming --version 4.0.27
                    
#r "nuget: Atc.Wpf.Theming, 4.0.27"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Atc.Wpf.Theming@4.0.27
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Atc.Wpf.Theming&version=4.0.27
                    
Install as a Cake Addin
#tool nuget:?package=Atc.Wpf.Theming&version=4.0.27
                    
Install as a Cake Tool

ATC.Net WPF

A comprehensive set of modern, enterprise-ready WPF libraries for building professional desktop applications with the MVVM design pattern. This framework provides a rich collection of reusable controls, theming support, font icons, and MVVM infrastructure to accelerate WPF application development.

✨ Key Features

  • 🎨 Rich Control Library - 80+ controls including labeled form controls, flyouts, color pickers, selectors, and specialized input controls
  • 🏛️ Four-Tier Architecture - Clear separation: Base → Controls → Forms → Components
  • 🌓 Light/Dark Theming - Built-in theme support for all controls with easy customization
  • 🎯 MVVM Ready - Complete MVVM infrastructure with observable properties and relay commands
  • 🔤 Font Icon Support - Render SVG and image resources based on fonts
  • Smart Validation - Deferred validation pattern for better user experience
  • 📐 Advanced Layouts - FlexPanel, AutoGrid, StaggeredPanel, Card, Badge and more
  • 🌍 Localization - Built-in translation and localization support
  • 🎭 Value Converters - Extensive collection of XAML value converters

Requirements

NuGet Packages Provided in this Repository

Nuget package Description Dependencies
NuGet Version Core library: MVVM, layouts, value converters <ul><li>Atc</li></ul>
NuGet Version Atomic controls: base inputs, buttons, colors <ul><li>Atc.Wpf</li><li>Atc.Wpf.FontIcons</li><li>Atc.Wpf.Theming</li></ul>
NuGet Version Form field controls: 25+ labeled controls with validation <ul><li>Atc.Wpf.Controls</li><li>Atc.Wpf.Theming</li></ul>
NuGet Version Composite components: dialogs, viewers, settings <ul><li>Atc.Wpf.Forms</li><li>Atc.Wpf.FontIcons</li></ul>
NuGet Version Font-based icon rendering <ul><li>Atc.Wpf</li></ul>
NuGet Version Light & Dark mode theming infrastructure <ul><li>Atc.Wpf</li><li>ControlzEx</li><li>Microsoft.Windows.CsWin32</li></ul>
NuGet Version Network scanning and discovery controls <ul><li>Atc.Network</li><li>Atc.Wpf.Controls</li><li>Atc.Wpf.Forms</li></ul>
NuGet Version Controls for building sample applications <ul><li>Atc.Wpf.Components</li><li>MdXaml</li></ul>

🔎 Demonstration Application

The demonstration application, Atc.Wpf.Sample, functions as a control explorer. It provides quick visualization of a given control, along with options for copying and pasting the XAML markup and/or the C# code for how to use it.

🎈 Playground and Viewer for a Given Control or Functionality

The following example is taken from the ReplayCommandAsync which illustrates its usage:

  • The Sample tab shows how to use the control or feature.
  • The XAML tab displays the corresponding XAML markup.
  • The CodeBehind tab reveals the underlying code-behind.
  • The ViewModel tab displays the associated ViewModel, if used.
  • The Readme tab displays the associated [control]_Readme.md, if exist.
Sample Img XAML Img
CodeBehind Img ViewModel Img

🔦 Initial glimpse at the demonstration application

Light-Mode Dark-Mode
Wpf - AutoGrid Img Wpf - AutoGrid Img
Wpf.Controls - Label MIX Img Wpf.Controls - Label MIX Img
Wpf.Theming - ImageButton Img Wpf.Theming - ImageButton Img
Wpf.FontIcons - Viewer Img Wpf.FontIcons - Viewer Img

🚀 Quick Start Guide

Installation

Add the NuGet packages to your .csproj file:

<ItemGroup>
  
  <PackageReference Include="Atc.Wpf" Version="4.*" />
  <PackageReference Include="Atc.Wpf.Theming" Version="4.*" />

  
  <PackageReference Include="Atc.Wpf.Forms" Version="4.*" />

  
  <PackageReference Include="Atc.Wpf.Components" Version="4.*" />

  
  <PackageReference Include="Atc.Wpf.FontIcons" Version="4.*" />
</ItemGroup>

Configuration

1. Update App.xaml

Add the required resource dictionaries to enable theming and control styles:

<Application
    x:Class="YourApp.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:atc="https://github.com/atc-net/atc-wpf/tree/main/schemas">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                
                <ResourceDictionary Source="pack://application:,,,/Atc.Wpf.Theming;component/Styles/Default.xaml" />

                
                <ResourceDictionary Source="pack://application:,,,/Atc.Wpf.Controls;component/Styles/Controls.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>
</Application>

2. Use Controls in XAML

Now you can use all controls with full theming support:

<Window
    xmlns:atc="https://github.com/atc-net/atc-wpf/tree/main/schemas"
    ...>

    
    <atc:LabelTextBox
        LabelText="User Name"
        Text="{Binding UserName}"
        IsMandatory="True" />

    
    <atc:LabelEndpointBox
        LabelText="API Endpoint"
        NetworkProtocol="Https"
        Value="{Binding EndpointUri}" />

    
    <Button Content="Save" Command="{Binding SaveCommand}" />
    <TextBox Text="{Binding Notes}" />
</Window>

All standard WPF controls (Button, TextBox, ComboBox, etc.) are automatically styled with Light/Dark theme support.

🎯 Four-Tier Architecture

Understanding the package hierarchy and when to use each:

Tier Package Purpose Example Controls
1. Base Atc.Wpf MVVM, layouts, converters - no UI controls ViewModelBase, GridEx, FlexPanel
2. Controls Atc.Wpf.Controls Atomic/primitive controls IntegerBox, ToggleSwitch, Flyout, Carousel
3. Forms Atc.Wpf.Forms Labeled form fields with validation LabelTextBox, LabelComboBox, LabelDatePicker
4. Components Atc.Wpf.Components Composite high-level components InfoDialogBox, JsonViewer, ToastNotification

Quick Guidelines:

  • Use Form Controls (Atc.Wpf.Forms) for standard forms - they include labels, validation, and mandatory indicators
  • Use Base Controls (Atc.Wpf.Controls) when you need custom layouts or are building composite controls
  • Use Components (Atc.Wpf.Components) for dialogs, viewers, and settings panels

📋 Control Catalog at a Glance

A quick reference of all controls organized by category:

Category Controls Package
Layout Panels GridEx, AutoGrid, FlexPanel, StaggeredPanel, UniformSpacingPanel, ResponsivePanel, DockPanelPro Atc.Wpf / Atc.Wpf.Controls
Data Display Card, Badge, Chip, Avatar, AvatarGroup, Divider, Carousel, Rating Atc.Wpf.Controls
Flyouts Flyout, FlyoutHost, FlyoutService Atc.Wpf.Controls
Input Controls NumericBox, IntegerBox, DecimalBox, ToggleSwitch, RangeSlider, FilePicker, DirectoryPicker Atc.Wpf.Controls
Color Controls HueSlider, SaturationBrightnessPicker, TransparencySlider, WellKnownColorPicker Atc.Wpf.Controls
Buttons ImageButton, AuthenticationButton, ConnectivityButton Atc.Wpf.Controls
Progress BusyOverlay, LoadingIndicator Atc.Wpf.Controls
Labeled Form Controls LabelTextBox, LabelIntegerBox, LabelComboBox, LabelDatePicker, LabelColorPicker, + 20 more Atc.Wpf.Forms
Dialogs InfoDialogBox, QuestionDialogBox, InputDialogBox, ColorPickerDialogBox Atc.Wpf.Forms / Components
Viewers JsonViewer, TerminalViewer Atc.Wpf.Components
Notifications ToastNotification, ToastNotificationManager Atc.Wpf.Components
Theming NiceWindow, ThemeSelector, AccentColorSelector Atc.Wpf.Theming
Font Icons FontAwesome (3 variants), Bootstrap, MaterialDesign, Weather, IcoFont Atc.Wpf.FontIcons
Network NetworkScannerView Atc.Wpf.Network

💝 MVVM Made Easy

For MVVM infrastructure, add the Atc.XamlToolkit package to your project. This provides powerful source generators and base classes for clean MVVM architecture.

Note: As of version 4.x, Atc.Wpf no longer directly depends on Atc.XamlToolkit to optimize build performance. Add Atc.XamlToolkit directly to your project to use source generators and MVVM base classes.

Key MVVM Features (from Atc.XamlToolkit)

  • Observable Properties - Automatic INotifyPropertyChanged implementation via [ObservableProperty] attribute
  • Relay Commands - Simple command implementation with CanExecute support via [RelayCommand] attribute
  • Async Commands - Built-in support for async/await patterns
  • Source Generators - Automatic code generation for ViewModels, DependencyProperties, and AttachedProperties

MVVM Components

Component Source Description
ViewModelBase Atc.XamlToolkit.Mvvm Base class for ViewModels
ObservableObject Atc.XamlToolkit.Mvvm Base class implementing INotifyPropertyChanged
RelayCommand<T> Atc.XamlToolkit.Command Command with CanExecute support
RelayCommandAsync<T> Atc.XamlToolkit.Command Async command with CanExecute support
[ObservableProperty] Atc.XamlToolkit Source generator for properties
[RelayCommand] Atc.XamlToolkit Source generator for commands
[DependencyProperty] Atc.XamlToolkit.Wpf Source generator for WPF dependency properties
[AttachedProperty] Atc.XamlToolkit.Wpf Source generator for WPF attached properties

Learn More

Quick MVVM Example

public partial class MainViewModel : ViewModelBase
{
    [ObservableProperty]
    private string userName = string.Empty;

    [ObservableProperty]
    private bool isEnabled = true;

    [RelayCommand(CanExecute = nameof(CanSave))]
    private async Task SaveAsync()
    {
        await SaveUserDataAsync(UserName);
    }

    private bool CanSave() => !string.IsNullOrEmpty(UserName);
}

📚 Comprehensive Documentation

Note: While this README provides an overview, the best way to explore all controls and components is to run the Atc.Wpf.Sample application, which includes interactive examples with XAML and code-behind for every control! �

💟 Atc.Wpf - Core WPF Library

The foundation library providing essential WPF controls, layouts, and utilities.

Layout Controls

Modern layout panels and containers for advanced UI composition. See the complete Layout Controls documentation for detailed usage.

Control Description Key Features Documentation
GridEx Enhanced Grid String-based row/column definitions Readme
AutoGrid Auto-indexed Grid Automatic child positioning Readme
FlexPanel CSS Flexbox panel Grow/shrink, justify, align Readme
StaggeredPanel Masonry layout Pinterest-style waterfall Readme
UniformSpacingPanel Uniform spacing Consistent gaps + wrapping Readme
ResponsivePanel Responsive layout Breakpoint-based responsive design Readme
DockPanelPro IDE-style docking Resizable regions Readme

Data Display Controls

Control Description Key Features Documentation
Card Content container Elevation, header/footer, expand Readme
Badge Status indicator Notification counts, dots Readme
Chip Tag/filter control Selectable, removable Readme
Avatar User profile picture Initials fallback, status indicator Readme
Divider Visual separator Horizontal/vertical Readme

Media Controls

  • SvgImage - SVG image rendering control

Helpers & Utilities

  • PanelHelper - Helper methods for panel layout calculations

Additional Features

💟 Atc.Wpf.Controls - Atomic Control Library

A collection of primitive/atomic WPF controls - single-purpose building blocks.

⭐ Input Controls

Unlabeled input controls that provide core functionality:

Category Controls
Number Input NumericBox, IntegerBox, DecimalBox, IntegerXyBox, DecimalXyBox, PixelSizeBox
Toggle & Slider ToggleSwitch, RangeSlider, Rating
Pickers DirectoryPicker, FilePicker
Text Input RichTextBoxEx

Button Controls

  • AuthenticationButton, ConnectivityButton, ImageButton, ImageToggledButton

Color Controls

Layout Controls

Data Display Controls

Control Description Documentation
Avatar User profile pictures with initials fallback Readme
AvatarGroup Multiple overlapping avatars -
Badge Status indicator overlay -
Card Elevated container with header/footer -
Carousel Image carousel/slideshow with navigation Readme
Chip Tag/filter interactive elements -
Divider Visual separator (horizontal/vertical) -

Flyout Controls

Sliding panel overlays that slide in from window edges - inspired by Azure Portal blade pattern.

Control Description Documentation
Flyout Sliding panel overlay from edges (Right, Left, Top, Bottom) Readme
FlyoutHost Container that manages multiple flyouts with nesting support Readme
FlyoutService MVVM-friendly service for programmatic flyout management Readme

Key Features:

  • 🎯 Four positions: Right (default), Left, Top, Bottom
  • 🌓 Light dismiss (click outside or Escape key)
  • 📚 Nested flyouts (Azure Portal drill-down style)
  • 🎬 Smooth slide animations
  • 🎨 Full theming support

<flyouts:Flyout x:Name="SettingsFlyout" Header="Settings" FlyoutWidth="400">
    <StackPanel Margin="16">
        <CheckBox Content="Enable notifications" />
        <CheckBox Content="Dark mode" />
    </StackPanel>
</flyouts:Flyout>

Progress Controls

  • BusyOverlay, LoadingIndicator

💟 Atc.Wpf.Forms - Form Field Library

Form field components with labels, validation, and mandatory indicators for building data entry forms.

⭐ Label Controls (25+ Controls)

Labeled input controls with built-in validation and consistent styling:

  • Text Input: LabelTextBox, LabelPasswordBox
  • Number Input: LabelIntegerBox, LabelDecimalBox, LabelIntegerXyBox, LabelDecimalXyBox, LabelPixelSizeBox
  • Date/Time: LabelDatePicker, LabelTimePicker, LabelDateTimePicker
  • Selection: LabelCheckBox, LabelComboBox, LabelToggleSwitch, LabelSlider
  • Selectors: LabelAccentColorSelector, LabelCountrySelector, LabelFontFamilySelector, LabelLanguageSelector, LabelThemeSelector, LabelWellKnownColorSelector
  • Pickers: LabelColorPicker, LabelDirectoryPicker, LabelFilePicker
  • Network: LabelEndpointBox (protocol + host + port with validation)
  • Display: LabelContent, LabelTextInfo

All label controls support:

  • ✅ Deferred validation (shows errors only after user interaction)
  • ✅ Mandatory field indicators
  • ✅ Consistent styling and theming
  • ✅ MVVM-friendly data binding

Form Infrastructure

  • Abstractions: ILabelControl, ILabelControlsForm
  • Extractors: Form data extraction utilities
  • Factories: LabelControlFactory, LabelControlsFormFactory
  • Writers: Form rendering utilities

💟 Atc.Wpf.Components - Composite Components

Higher-level composite components combining multiple controls for business-ready UI.

Dialogs

  • InfoDialogBox, QuestionDialogBox, InputDialogBox, InputFormDialogBox, BasicApplicationSettingsDialogBox
  • DialogService - MVVM-friendly dialog management

Note: ColorPickerDialogBox is located in Atc.Wpf.Forms.Dialogs

Viewers

  • JsonViewer - JSON document viewer with syntax highlighting
  • TerminalViewer - Terminal/console output viewer

Monitoring

  • ApplicationMonitorView - Application event monitoring component

Notifications

  • ToastNotificationManager, ToastNotificationArea, ToastNotification - Toast notification system

Settings

  • BasicApplicationSettingsView, BasicApplicationSettingsViewModel

💟 Atc.Wpf.FontIcons - Font-Based Icons

Render SVG and image resources using font-based icon systems for crisp, scalable icons.

Features

  • 🎨 Scalable vector icons
  • 🎯 Font-based rendering
  • 📦 Multiple icon font support
  • 🌈 Color and size customization

Resources

💟 Atc.Wpf.Theming - Light & Dark Mode

Complete theming infrastructure with Light and Dark mode support for all WPF controls.

Features

  • 🌓 Light/Dark theme switching
  • 🎨 Accent color customization
  • 🎯 Automatic control styling
  • 🔄 Runtime theme changes
  • 📱 Consistent visual design

Resources

💟 Atc.Wpf.Network - Network Discovery Controls

Specialized controls for network scanning and host discovery, built on the Atc.Network library.

NetworkScannerView Control

A comprehensive network scanner control that displays scan results in a sortable, filterable ListView.

Features:

  • 🔍 IP range scanning with configurable start/end addresses
  • 📊 Real-time progress reporting with cancellation support
  • 🌐 Displays IP address, hostname, MAC address, and vendor information
  • 🚪 Port scanning with configurable port lists
  • 📶 Network quality indicators (ping status visualization)
  • 🔄 Sortable columns with click-to-sort headers
  • 🎛️ Configurable column visibility
  • 🔎 Built-in filtering (show only successful pings, show only hosts with open ports)
  • 🌍 Localization support (English, Danish, German)

Usage:

<Window xmlns:atcNetwork="clr-namespace:Atc.Wpf.Network;assembly=Atc.Wpf.Network">
    <atcNetwork:NetworkScannerView DataContext="{Binding NetworkScannerVm}" />
</Window>
// ViewModel setup
var viewModel = new NetworkScannerViewModel
{
    StartIpAddress = "192.168.1.1",
    EndIpAddress = "192.168.1.254",
    PortsNumbers = [80, 443, 22, 3389]
};

// Start scanning
await viewModel.ScanCommand.ExecuteAsync(null);

// Handle selection changes
viewModel.EntrySelected += (sender, args) =>
{
    var selectedHost = args.NetworkHost;
    // Handle selected host
};

ViewModels:

  • NetworkScannerViewModel - Main ViewModel for the scanner control
  • NetworkHostViewModel - Represents a discovered network host
  • NetworkScannerColumnsViewModel - Controls column visibility
  • NetworkScannerFilterViewModel - Controls result filtering

🎯 Source Generators

Atc.Wpf includes powerful source generators from Atc.XamlToolkit to reduce boilerplate code:


🤝 Contributing

We welcome contributions! Please read our guidelines:

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

Built with ❤️ by the ATC.Net team and contributors.

Product Compatible and additional computed target framework versions.
.NET net10.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Atc.Wpf.Theming:

Package Downloads
Atc.Wpf.Controls

WPF control library providing atomic UI controls including input controls, pickers, layouts, and progress indicators.

Atc.Wpf.Controls.Sample

Reusable WPF controls for building sample and demonstration applications.

Atc.Wpf.Components

WPF composite component library providing dialogs, viewers, settings panels, and notifications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.27 0 1/27/2026
4.0.25 41 1/25/2026
4.0.4 94 1/21/2026
4.0.3 86 1/20/2026
4.0.1 87 1/19/2026
3.0.4 94 1/8/2026
3.0.3 92 1/7/2026
3.0.1 92 1/6/2026
2.0.665 221 10/20/2025
2.0.664 213 10/6/2025
2.0.659 205 10/2/2025
2.0.657 336 9/15/2025
2.0.651 198 7/14/2025
2.0.647 351 5/13/2025
2.0.646 316 5/12/2025
2.0.642 234 5/7/2025
2.0.640 237 5/5/2025
2.0.638 223 5/4/2025
2.0.636 273 4/22/2025
2.0.631 241 4/10/2025
2.0.627 274 4/5/2025
2.0.626 198 4/5/2025
2.0.624 251 4/3/2025
2.0.621 252 4/2/2025
2.0.618 235 4/1/2025
2.0.605 220 3/26/2025
2.0.599 269 3/17/2025
2.0.597 247 3/17/2025
2.0.596 226 3/16/2025
2.0.595 247 3/16/2025
2.0.594 225 3/16/2025
2.0.593 212 3/16/2025
2.0.592 220 3/16/2025
2.0.582 282 2/19/2025
2.0.581 197 2/19/2025
2.0.580 181 2/19/2025
2.0.579 214 2/19/2025
2.0.578 194 2/18/2025
2.0.574 176 2/16/2025
2.0.569 201 2/16/2025
2.0.568 174 2/16/2025
2.0.565 193 2/15/2025
2.0.563 202 2/15/2025
2.0.562 188 2/12/2025
2.0.561 185 2/10/2025
2.0.547 196 2/9/2025
2.0.545 207 2/8/2025
2.0.534 222 2/8/2025
2.0.530 176 1/19/2025
2.0.524 265 6/13/2024
2.0.519 201 6/12/2024
2.0.517 189 6/11/2024
2.0.511 192 6/7/2024
2.0.505 290 4/26/2024
2.0.499 260 4/7/2024
2.0.495 213 3/26/2024
2.0.493 218 3/22/2024
2.0.491 194 3/21/2024
2.0.484 206 3/21/2024
2.0.480 204 3/18/2024
2.0.468 243 3/10/2024
2.0.449 209 3/4/2024
2.0.424 239 2/25/2024
2.0.419 224 2/22/2024
2.0.413 227 2/22/2024
2.0.408 231 2/22/2024
2.0.406 184 2/21/2024
2.0.403 200 2/18/2024
2.0.398 236 2/10/2024
2.0.396 214 2/10/2024
2.0.394 207 2/9/2024
2.0.392 207 2/9/2024
2.0.387 213 2/7/2024
2.0.385 201 1/27/2024
2.0.382 198 1/23/2024
2.0.379 273 1/3/2024
2.0.377 216 1/3/2024
2.0.361 245 12/17/2023
2.0.358 244 12/16/2023
2.0.344 217 12/13/2023
2.0.342 256 12/9/2023
2.0.337 215 12/3/2023
2.0.333 216 12/3/2023
2.0.331 223 11/30/2023
2.0.312 201 11/24/2023
2.0.308 197 11/24/2023
2.0.297 275 11/11/2023
2.0.290 204 11/8/2023
2.0.285 238 11/1/2023
2.0.280 254 10/25/2023
2.0.265 314 9/10/2023
2.0.260 284 8/9/2023
2.0.242 316 7/22/2023
2.0.195 309 7/4/2023
2.0.178 867 11/18/2022
2.0.176 440 11/16/2022
2.0.174 466 11/16/2022
2.0.168 585 11/13/2022
2.0.164 522 11/10/2022
2.0.162 477 11/8/2022
2.0.160 482 11/7/2022
2.0.128 634 10/17/2022
2.0.125 528 10/15/2022
2.0.119 551 10/14/2022
2.0.115 536 10/13/2022
2.0.107 538 10/13/2022
2.0.104 555 10/12/2022
2.0.100 539 10/11/2022
2.0.89 560 10/9/2022
2.0.78 526 10/6/2022
2.0.75 560 10/3/2022
2.0.72 540 10/2/2022
2.0.60 573 9/26/2022
2.0.51 642 9/22/2022
2.0.49 579 9/22/2022