CP.Xaml.Converters
1.0.2
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Framework 4.6.2
This package targets .NET Framework 4.6.2. The package is compatible with this framework or higher.
dotnet add package CP.Xaml.Converters --version 1.0.2
NuGet\Install-Package CP.Xaml.Converters -Version 1.0.2
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="CP.Xaml.Converters" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CP.Xaml.Converters --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CP.Xaml.Converters, 1.0.2"
#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.
// Install CP.Xaml.Converters as a Cake Addin #addin nuget:?package=CP.Xaml.Converters&version=1.0.2 // Install CP.Xaml.Converters as a Cake Tool #tool nuget:?package=CP.Xaml.Converters&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
XamlConverters
Converters for WPF
Converters available are:
- ArithmeticConverter
- BackgroundColorToBwForegroundConverter
- BoolNegationConverter
- BoolToOpacityConverter
- BoolToStringTickCrossConverter
- BoolToVisibilityConverter
- BoolToVisibilityConverterNegate
- CollectionSizeToBoolConverter
- CollectionSizeToVisibilityConverter
- ColorToBrushConverter
- DoubleToCurrencyStringConverter
- EnumConverter
- HexStringToColorConverter
- HexStringToSolidColorBrushConverter
- IntToThicknessConverter
- IntToVisibilityConverter
- InverseValueToBoolConverter
- InvertSignConverter
- InvertValueConverter
- InvertVisibilityConverter
- IsGreaterThanOrEqualToConverter
- LineStrokeLevelConverter
- ToLowerConverter
- MathConverter
- MultiConverter
- MultiplierConverter
- NullToBoolConverter
- NullToVisibilityConverter
- ToUpperConverter
- ValueCompareVisibilityConverter
- ValueGreaterThanXToBoolConverter
- ValueGtXConverter
- ValueLessThanXToBoolConverter
- ValueNotNullToBoolConverter
- ValueNotNullToVisibilityConverter
- ValueToBrushConverter
- VisibilityFromNumberConverter
- VisibilityFromNumberEqualsConverter
- ZeroToVisibilityConverter
- BrushToColorConverter
- FallbackBrushConverter
Usage
Add the namespace to your App.xaml file:
xmlns:converters="https://github.com/ChrisPulman/XamlConverters"
Then add the ConvertersDictionary to your resources in App.xaml:
<Application.Resources>
<converters:ConvertersDictionary />
</Application.Resources>
This will make all of the converters available to your application.
Then use it by selecting a Converter={StaticResource #CONVERTER#}}
such as:
<TextBlock Text="{Binding MyProperty, Converter={StaticResource ToUpperConverter}}" />
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net7.0-windows7.0 is compatible. net8.0-windows was computed. net8.0-windows7.0 is compatible. |
.NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.6.2
- No dependencies.
-
net6.0-windows7.0
- No dependencies.
-
net7.0-windows7.0
- No dependencies.
-
net8.0-windows7.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on CP.Xaml.Converters:
Package | Downloads |
---|---|
CrissCross.WPF.UI
A Reactive Navigation Framework for ReactiveUI |
GitHub repositories
This package is not used by any popular GitHub repositories.
Compatability with Net 6/7/8 and netstandard2.0