2012-02-22

My Libraries are your libraries.

I say that because on this website you will find many C# & WPF libraries for the daily development.

The libraries have several benefits: - well and complete documentation, - detailed description pages, - intellisense and debugging symbols, - open source, - for free for any kind of application. Each library is licensed under the MIT License.

If you for example develop with the MVVM pattern or search for controls which are not inside the .Net framework, you should have a look into the libraries on this page. In most cases you will find an appropriate and reasonable solution. If you just need one control instead of a whole library, you have the freedome to take the sources and copy them into your project.

If you have any question, any problem, need an idea how to solve a problem, have any problem using a library, found an issue or just miss anything, don't hesitate and contact me, I will try to help you.

News

Generic DelegateCommand added

Sometimes it happens that a ICommand shold be called with a specific parameter only.
To have this it is needed to get the object parameter and cast it to the right type.

 

ClosingCommand = new DelegateCommand(WindowClosing);

public ICommand ClosingCommand { get; set; }
private void WindowClosing(object arg)
{
 var e = (WindowClosingArgs)arg;
}

To prevent this senseless casting I have created an additional DelegateCommand which takes the corresponding object type.

ClosingCommand = new DelegateCommand<WindowClosingArgs>(WindowClosing);

public ICommand ClosingCommand { get; set; }
private void WindowClosing(WindowClosingArgs e)
{
}

Supported with the current DW.SharpTools are both. The non generic DelegateCommand passes just objects.

 

Facts:

Library: DW.SharpTools
Version: 12.1.11.0
Date: 2012-1-11 20:57