TimsWpfControlsExtended 1.0.0

dotnet add package TimsWpfControlsExtended --version 1.0.0
                    
NuGet\Install-Package TimsWpfControlsExtended -Version 1.0.0
                    
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="TimsWpfControlsExtended" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TimsWpfControlsExtended" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="TimsWpfControlsExtended" />
                    
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 TimsWpfControlsExtended --version 1.0.0
                    
#r "nuget: TimsWpfControlsExtended, 1.0.0"
                    
#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 TimsWpfControlsExtended@1.0.0
                    
#: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=TimsWpfControlsExtended&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=TimsWpfControlsExtended&version=1.0.0
                    
Install as a Cake Tool

TimsWpfControls

Some missing WPF Controls that integrates with MahApps.Metro

ATTENTION This libary may not be production ready

MahApps-Integration

Whenever a control is implemented in MahApps it will be removed here. Please Stay tuned if you use this library.

Disclaimer

This libary is provided without any warrenty. It will change to whatever I need, so there might be some breaking changes when you update.

BaseClass

The BaseClass implements INotifyPropertyChanged, INotifyPropertyChanging, INotifyDataErrorInfo and can be used to autmatically set and validate any property. This class will be deleted once the WindowsCommunityToolkit-MVVM package is available and provides the same functionallity.

Converters

EnumToBool Converter

This converter can be used to bind an enum to a group of RadioButtons

Consider the following enum in your Model:

public enum Gender
{
    Female,
    Male, 
    Diverse
}

In your XAML define these namespaces:

xmlns:timsConverter="clr-namespace:TimsWpfControls.Converter;assembly=TimsWpfControls"
xmlns:model="MyApp.MyModel"

And here is your group of RadioButtons

<StackPanel>
    <RadioButton Content="Female"
                    GroupName="RadioButtonsGender"
                    IsChecked="{Binding Gender, Converter={timsConverter:EnumToBoolConverter}, ConverterParameter={x:Static model:Gender.Female}}" />
    <RadioButton Content="Male"
                    GroupName="RadioButtonsGender"
                    IsChecked="{Binding Gender, Converter={timsConverter:EnumToBoolConverter}, ConverterParameter={x:Static model:Gender.Male}}" />
    <RadioButton Content="Diverse"
                    GroupName="RadioButtonsGender"
                    IsChecked="{Binding Gender, Converter={timsConverter:EnumToBoolConverter}, ConverterParameter={x:Static model:Gender.Diverse}}" />
</StackPanel>
Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 211 12/16/2024

Upgrade