Discovering open source WPF components – Orc.Notifications

In the discovering open source WPF components series, I will look into useful open source components that can be used to create WPF apps. This weeks component is Orc.Notifications.

Some WPF apps run in the background. When an important event happens, desktop notifications are a good way to inform the user of such an event. Orc.Notifications allows you to easily create desktop notifications. The notifications will automatically extract the icon from the application and use the accent color of the app.

notifications

Creating notifications is very simple:

 

Discovering open source WPF components – Orc.LogViewer

In the discovering open source WPF components series, I will look into useful open source components that can be used to create WPF apps. This weeks component is Orc.LogViewer.

Logging is a very important aspect of writing mature applications. Although errors should always be logged to a file on disk, it can be very useful to be able to view the logging at runtime while running an application. This proves very useful when analyzing issues on the computer of an end-user.

This is a very short post because the component is extremely easy to use. Just drop the control on a window or show the log viewer window. The log viewer control has the following features:

  • Toggle errors, warnings, info and debug messages
  • Toggle timestamp
  • Search on any text in the log messages
  • Filter by type name
  • Copy to clipboard

logviewer

Discovering open source WPF components – Orc.FilterBuilder

In the discovering open source WPF components series, I will look into useful open source components that can be used to create WPF apps. This weeks component is Orc.FilterBuilder.

Filtering complex problems is something that is fairly common in enterprise WPF apps. Normally the filters are written by a developer, but when a user wants to create a custom filter, they have to go to the developer and ask them to implement the new filter, which could take weeks to end up in the final product.

Orc.FilterBuilder allows end-users to create and store filters for collections. This way each user can create their own filters for their data so they get exactly what they are looking for.

Filter window

The animated gif shows that the filter window is really accessible to all end-users.

filterbuilder

Filtering in xaml

Filtering in xaml is very easy with the filter builder control. Use the raw and filtered collection properties and the filter builder control will take care of the rest:

Filtering in code

The filters can also be used in code-behind or services by using the following code: