Oakrey.Wpf.Converters
2.1.0
dotnet add package Oakrey.Wpf.Converters --version 2.1.0
NuGet\Install-Package Oakrey.Wpf.Converters -Version 2.1.0
<PackageReference Include="Oakrey.Wpf.Converters" Version="2.1.0" />
<PackageVersion Include="Oakrey.Wpf.Converters" Version="2.1.0" />
<PackageReference Include="Oakrey.Wpf.Converters" />
paket add Oakrey.Wpf.Converters --version 2.1.0
#r "nuget: Oakrey.Wpf.Converters, 2.1.0"
#:package Oakrey.Wpf.Converters@2.1.0
#addin nuget:?package=Oakrey.Wpf.Converters&version=2.1.0
#tool nuget:?package=Oakrey.Wpf.Converters&version=2.1.0
Oakrey.Wpf.Converters
1. Overview
The "Wpf.Converters" project provides a collection of value converters for WPF applications. These converters simplify data binding scenarios by transforming data between the source and target bindings, enabling dynamic and flexible UI behavior.
2. Features
Boolean to Visibility Converters:
BoolToVisibilityConverter, BoolToVisibilityCollapsedConverter, and their reverse counterparts handle visibility toggling based on boolean values.
State and Enum Converters:
StateToVisibilityConvertor and EnumToVisibilityConverter map enumeration states to visibility, enabling state-driven UI updates.
Data Transformation:
ByteArrayToStringConverter converts byte arrays to string representations. DateToDayStringConverter formats dates into day strings.
Negation and Null Check:
NegationConverter inverts boolean values. IsNotNullToBoolConverter checks for null values and returns a boolean.
Signal and Indentation Converters:
SignalSizeToVisibilityConverter and SignalValueToBulbVisibilityConverter manage visibility based on signal values. IndentValueConverter adjusts indentation dynamically.
3. Installation
You can install the package via NuGet Package Manager, Package Manager Console or the .NET CLI.
NuGet Package Manager
- Open your project in Visual Studio.
- Navigate to Tools > NuGet Package Manager > Manage NuGet Packages for Solution....
- Search for
Oakrey.Wpf.Convertersand click Install.
.NET CLI
Run the following command in your terminal:
dotnet add package Oakrey.Wpf.Converters
Package Manager Console
Run the following command in your Package Manager Console:
Install-Package Oakrey.Wpf.Converters
4. Requirements
- .NET 8 or higher
5. Project Information
- Author: Oakrey
- Company: Oakrey (Website Link)
- License: MIT
- Repository: Git Repository
- Project URL: Project Website
6. Contributing
Contributions are welcome! Feel free to open issues or submit pull requests to improve the package.
7. License
This project is licensed under the MIT License. See the LICENSE file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-windows7.0 is compatible. |
-
net10.0-windows7.0
- No dependencies.
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Oakrey.Wpf.Converters:
| Package | Downloads |
|---|---|
|
Oakrey.Applications.UI
WPF UI library providing a DarkWindow base class with native DWM Mica and Acrylic backdrops, a TabbedWindow with animated page transitions and Windows light/dark theme detection, a notification bar service, and severity-typed message box and prompt dialogs. |
|
|
Oakrey.Applications.License
Provides application license management for .NET WPF apps: signature and threshold-based validation, trial and expiration support, reactive license status via IObservable<bool>, custom exception types, and a ready-made LicenseWindow WPF dialog. |
|
|
Oakrey.Applications.SplashScreen
Windows (.NET 10, WPF) library for async splash screens with parallel preload tasks and MSI update flow. Generic SplashScreenService<T> integrates IApplicationInfo metadata, Oakrey.Log, and Oakrey.Telemetry; registers via a single IServiceCollection extension. |
|
|
Oakrey.Wpf.Dashboard
Provides a set of WPF controls for building interactive dashboards, including Gauge, GraphInTime, Histogram, and TickMarker controls. Ideal for data visualization and real-time metrics representation. |
|
|
Oakrey.Wpf.Controls
Provides a collection of advanced and reusable WPF controls for modern user interface development. Includes controls like AdvancedListBox, FileBrowse, HelpPage, RemovableBadge, SlideToStop, and Tile for enhanced functionality and customization. |
GitHub repositories
This package is not used by any popular GitHub repositories.