Commonly used converters that allow the data to be modified as it passes through the binding engine.
Install
| Product | Versions |
|---|---|
| .NET | |
| Universal Windows Platform |
README
Windows Community Toolkit - Converters
This package is part of the Windows Community Toolkit from the .NET Foundation.
Package Contents
This package contains the following converters in the CommunityToolkit.WinUI.Converters namespace:
- BoolNegationConverter
- BoolToObjectConverter
- BoolToVisibilityConverter
- CollectionVisibilityConverter
- ColorToDisplayNameConverter
- DoubleToObjectConverter
- DoubleToVisibilityConverter
- EmptyCollectionToObjectConverter
- EmptyObjectToObjectConverter
- EmptyStringToObjectConverter
- FileSizeToFriendlyStringConverter
- IFormattableToStringConverter
- ResourceNameToResourceStringConverter
- StringFormatConverter
- StringVisibilityConverter
- TaskResultConverter
- TypeToObjectConverter
- VisibilityToBoolConverter
Which Package is for me?
If you're developing with UWP/WinUI 2 or Uno.UI you should be using the CommunityToolkit.Uwp.Converters package.
If you're developing with WindowsAppSDK/WinUI 3 or Uno.WinUI you should be using the CommunityToolkit.WinUI.Converters package.
Documentation
Further documentation about these components can be found at: https://aka.ms/windowstoolkitdocs
License
MIT
See License.md in package for more details.
Changes from Previous Version
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.