Posts that include WPF

Development

Using Custom Icons in a WPF application

When building an application I hate having to open up my graphic editor and create icons with different colours and sizes to use as assets when designing the user interface in XAML. There are a lot of custom icon fonts rolling around on the internet, I will be showing you how easy it is to use font icons in your app.

Read More
Development

Using a Hex value for a Color object

We use Hex color codes in our design all the time, we're used to them and it's just easier to apply #333333 than RGB 51, 51, 51. I wanted to share a method that I use in all my coding that let's you use a hex color code to a Color object.

Read More
Development

How to create smart WPF Command Line Arguments

When creating a desktop console application in Visual Studio you're able to access the command line arguments pretty easily. How do you go about accessing command line arguments for a WPF Desktop application?

Read More
Development

Apple Style Scrollbar in WPF

The default scrollbar that Windows uses can take up a lot of space, especially if you are planning on using a ScrollViewer on a ListView in your application. Read on for the implementation of an Apple style scroll bar.

Read More
Development

Programatically add rows in a WPF DataGrid

The whole point of WPF and XAML is the to keep your functional code away from the user interface. You should be managing data with code not user interface elements, we've gone far from the Windows Forms days. Let's see how easy it is to add rows of data to a DataGrid.

Read More
Development

Switching between themes in WPF

When building an application you'd probably want to build themes and start changing the skin on specific controls. Sometimes users don't like the changes made - give them a choice, here's how.

Read More