Tag Archives: Converters

WPF Double to Fraction Converter

While on a project creating a WPF application for some real heavy Excel users, I’ve received a lot of requests to make it more like Excel.  One of the requirements that came in was to allow the users to type … Continue reading

Posted in C#, WPF | Tagged , , | Leave a comment

Choosing foreground using Luminosity Contrast Ratio

When a background is chosen by the user, you can use a converter that calculates luminosity contrast ratio for a black or white foreground to choose the best foreground color. Continue reading

Posted in C#, WPF | Tagged , | 5 Comments

WPF Date Range Double Slider Control (Part 1)

As I mentioned in my introduction to this series, I’m going over various aspects of how I created a DateTime Range slider control.  In this article, I’m going to be going over the basics of creating the user control.  Source … Continue reading

Posted in C#, WPF | Tagged , , , | Leave a comment