Blog

Page 36 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for Accessing UI (Main) Thread safely in WPF
c#multithreading.net

Accessing UI (Main) Thread safely in WPF

Published on September 2, 2023

# Accessing UI (Main) Thread Safely in WPF ๐Ÿ–ฅ๏ธ Have you ever encountered a situation where you need to update the UI in a separate thread but you end up with crashes or unexpected behavior? ๐Ÿค” Well, you're not alone! Many developers face this challenge wh

Cover Image for How Do I Hide wpf datagrid row selector

How Do I Hide wpf datagrid row selector

Published on September 2, 2023

## ๐Ÿค” How Do I Hide WPF DataGrid Row Selector? So, you've set up this awesome WPF DataGrid control to display your data and a select button. But, there's this pesky gray selector column down the left-hand side that's ruining the aesthetic appeal of your d

Cover Image for How can a Metro app in Windows 8 communicate with a backend desktop app on the same machine?
c#

How can a Metro app in Windows 8 communicate with a backend desktop app on the same machine?

Published on September 2, 2023

# How to Make Your Metro App Communicate with a Backend Desktop App in Windows 8 Are you stuck trying to figure out how to make your Metro app communicate with a backend desktop app on the same machine? Don't worry, we've got you covered! In this guide, w

Cover Image for How to handle WndProc messages in WPF?
c#

How to handle WndProc messages in WPF?

Published on September 2, 2023

๐Ÿ”ง How to Handle WndProc Messages in WPF? A Guide for the Modern Developer ๐Ÿ–ฅ๏ธ So, you're a developer who's experienced with handling WndProc messages in Windows Forms, but now you're diving into the awesome world of WPF (Windows Presentation Foundation).

Cover Image for How can I programmatically generate keypress events in C#?
c#.net

How can I programmatically generate keypress events in C#?

Published on September 2, 2023

## How to Programmatically Generate Keypress Events in C# ๐Ÿ˜ฎ๐Ÿ’ป Are you tired of manually simulating keypress events in your C# application? Do you want to save time and effort by automating this process? Well, you're in luck! In this blog post, we'll dive

Cover Image for Detecting WPF Validation Errors
validation

Detecting WPF Validation Errors

Published on September 2, 2023

# ๐Ÿ•ต๏ธโ€โ™‚๏ธDetecting WPF Validation Errors like a Pro! ๐Ÿ•ต๏ธโ€โ™€๏ธ So you're working on a WPF project and you've set up validation based on errors thrown in your Data Layer during Data Binding using the `ExceptionValidationRule` or `DataErrorValidationRule`. But

Cover Image for What does the WPF star do (Width="100*")

What does the WPF star do (Width="100*")

Published on September 2, 2023

๐ŸŒŸ Demystifying the WPF Star: Unraveling the Power of Width="100*" ๐ŸŒŸ Hey there tech enthusiasts! ๐Ÿ‘‹ Welcome back to another exciting blog post where we discuss all things digital. Today, we're diving deep into the wonderful world of WPF and exploring the

Cover Image for Full screen in WPF application
c#

Full screen in WPF application

Published on September 2, 2023

# ๐Ÿ–ฅ๏ธ Going Full Screen in a WPF Application - A Guide for Tablet-Friendly Experiences ๐Ÿ“ฑ Are you developing a snazzy WPF application that needs to run in full screen mode? Do you want it to work seamlessly on tablets of various dimensions? Look no furthe

Cover Image for Hidden features of WPF and XAML?

Hidden features of WPF and XAML?

Published on September 2, 2023

# Unleashing the Hidden Powers of WPF and XAML! ๐Ÿ’ฅ <p>Are you ready to discover the secret arsenal of features that lies within WPF and XAML? ๐Ÿ˜ฎ Let's dive right in and uncover some mind-blowing capabilities that you might not have known existed. ๐Ÿ”</p>

Cover Image for Bind TextBox on Enter-key press
c#.net

Bind TextBox on Enter-key press

Published on September 2, 2023

# Binding TextBox on Enter-key press: Easy solutions for XAML Do you find it annoying when the databinding on a TextBox only happens when it loses focus? ๐Ÿ˜ฉ Well, I'm here to tell you that there is an easy way to make the databinding happen when you press