StswExpress.Commons
0.20.1
dotnet add package StswExpress.Commons --version 0.20.1
NuGet\Install-Package StswExpress.Commons -Version 0.20.1
<PackageReference Include="StswExpress.Commons" Version="0.20.1" />
<PackageVersion Include="StswExpress.Commons" Version="0.20.1" />
<PackageReference Include="StswExpress.Commons" />
paket add StswExpress.Commons --version 0.20.1
#r "nuget: StswExpress.Commons, 0.20.1"
#:package StswExpress.Commons@0.20.1
#addin nuget:?package=StswExpress.Commons&version=0.20.1
#tool nuget:?package=StswExpress.Commons&version=0.20.1
StswExpress
A modern WPF library for .NET 8.0, offering enhanced controls, tools, and customization options for building responsive and feature-rich desktop applications.
Features
Controls
StswExpress provides a wide range of controls, many inspired by WinUI 3, as well as WPF controls with enhanced styling and functionalities. Here's a breakdown:
- Buttons:
StswButton
,StswDropButton
,StswHyperlinkButton
,StswRadioButton
,StswRepeatButton
,StswSplitButton
,StswToggleButton
- Charts:
StswChartColumns
,StswChartLegend
,StswChartPie
- Colors:
StswColorBox
,StswColorPicker
,StswColorSelector
- DataGrids:
StswDataGrid
,StswDataPager
- Date & Time:
StswCalendar
,StswDatePicker
,StswTimePicker
,StswTimerControl
- Dialogs:
StswContentDialog
,StswMessageDialog
- Filters:
StswFilterBox
,StswFilterTags
- Input:
StswAdaptiveBox
,StswNumberBox
,StswPasswordBox
,StswRatingControl
,StswSlider
,StswTextBox
,StswTextEditor
- Layout:
StswBorder
,StswExpander
,StswGroupBox
,StswSeparator
,StswTimedSwitch
,StswToolBar
,StswZoomControl
- Media:
StswImage
,StswMediaPlayer
- Navigation:
StswMenu
,StswMenuItem
,StswNavigation
,StswNavigationElement
,StswTabControl
,StswTabItem
- Panels:
StswDynamicGrid
,StswGrid
,StswGridSplitter
,StswLabelPanel
,StswSidePanel
- Paths:
StswPathPicker
,StswPathTree
- Scrollers:
StswDirectionView
,StswScrollBar
,StswScrollView
- Selectors:
StswComboBox
,StswDragBox
,StswFlipView
,StswListBox
,StswListView
,StswSegment
,StswSelectionBox
,StswTreeView
- Status & Info:
StswInfoBadge
,StswInfoBar
,StswInfoPanel
,StswProgressBar
,StswProgressRing
,StswStatusBar
,StswToaster
- Sub-controls:
StswSubButton
,StswSubCheck
,StswSubDrop
,StswSubError
,StswSubLabel
,StswSubRadio
,StswSubRepeater
,StswSubSelector
- Toggles:
StswCheckBox
,StswRadioBox
,StswToggleSwitch
- Typography:
StswIcon
,StswLabel
,StswOutlinedText
,StswSpinner
,StswText
- Windowing:
StswContextMenu
,StswNotifyIcon
,StswPopup
,StswToolTip
,StswWindow
,StswWindowBar
Utilities & Enhancements
The Utils
namespace in StswExpress provides a comprehensive set of tools to simplify WPF development. Here's an overview of its main categories:
Bindings
Tools to extend and enhance WPF bindings, including utilities for proxying, triggering, and monitoring bindings.
Examples: StswBindingProxy
, StswBindingTrigger
.
Collections
Custom collection types and utilities for advanced data handling, such as observable collections, enhanced views, and dictionaries.
Examples: StswObservableCollection
, StswObservableDictionary
.
Commands
Command implementations for MVVM, supporting asynchronous, cancellable, and pausable commands.
Examples: StswAsyncCommand
, StswCommand
.
Comparers
Custom comparers for advanced sorting and comparison needs, including natural string comparison.
Example: StswNaturalStringComparer
.
Converters
Value converters for common scenarios like boolean logic, color manipulation, formatting, and more.
Examples: StswBoolConverter
, StswColorConverter
, StswIfElseConverter
.
Databases
Helpers for working with databases, including connection factories, query helpers, and configuration tools.
Examples: StswDatabaseHelper
, StswSqlConnectionFactory
.
Events
Classes and arguments for handling events, particularly for value change notifications.
Example: StswValueChangedEventArgs
.
Export
Utilities for exporting data with support for customization via attributes and parameters.
Examples: StswExport
, StswExportAttribute
.
Helpers
General-purpose utilities for calculations, cloning, and object mapping.
Examples: StswCalculator
, StswMapping
.
Logging
An integrated logging system for debugging and monitoring, with configurable logging behavior.
Examples: StswLog
, StswLogConfig
.
Mailboxes
Email management tools for sending and handling emails directly from the application.
Examples: StswMailboxes
, StswMailboxModel
.
Markup Extensions
Extensions to enhance XAML development, such as dynamic resource binding and enum-to-list conversion.
Examples: StswDynamicColorExtension
, StswEnumToListExtension
.
Messengers
A lightweight messaging system for inter-component communication.
Example: StswMessanger
.
Stores
State management tools for handling application data and refresh operations.
Examples: StswStoreBase
, StswRefreshBlocker
.
Translator
Localization tools to manage translations and bind them easily in XAML.
Examples: StswTranslator
, StswTranslateExtension
.
Miscellaneous
A variety of utilities including extensions, icons, observable objects, and security tools.
Examples: StswExtensions
, StswIcons
, StswObservableObject
.
These tools provide essential building blocks for streamlining WPF application development, making it easier to build robust, scalable, and maintainable projects.
Licensing & Acknowledgments
- Icons: The icons in
StswIcons
are sourced from Material Design Icons.
Get Started
You can find StswExpress on NuGet here.
For more details and the full changelog, click here.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- MailKit (>= 4.13.0)
- Microsoft.Bcl.AsyncInterfaces (>= 9.0.9)
- Microsoft.Data.SqlClient (>= 6.1.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on StswExpress.Commons:
Package | Downloads |
---|---|
StswExpress
This package offers: • A variety of modern WPF controls (inspired by WinUI 3) with enhanced styling and functionalities. • Utilities such as commands, converters, database tools, extensions, vector geometry icons, logging system, and mail sending. • Support for GUI scaling, multiple theme options (including light/dark modes), and app localization for different languages. |
GitHub repositories
This package is not used by any popular GitHub repositories.
For more details, see the changelog: https://github.com/stsw133/StswExpress/blob/main/CHANGELOG.md