Blog

Page 45 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for WPF - How to force a Command to re-evaluate "CanExecute" via its CommandBindings
command.net

WPF - How to force a Command to re-evaluate "CanExecute" via its CommandBindings

Published on September 2, 2023

# WPF - How to force a Command to re-evaluate 'CanExecute' via its CommandBindings 🔮 Are you struggling with a WPF menu where the command's CanExecute is not re-evaluated when the underlying data changes? Frustrating, right? 😫 Well, fear not! In this bl

Cover Image for How can I disable horizontal scrolling in a WPF ListBox?
c#.net

How can I disable horizontal scrolling in a WPF ListBox?

Published on September 2, 2023

**🔒 Stop the Horiz-scroll in WPF ListBox ⛔️✋** Do you find yourself in a WPF coding conundrum? Are you struggling to disable horizontal scrolling in a ListBox? Fear not, techies! 🤓 In this blog post, we'll tackle this seemingly simple yet surprisingly e

Cover Image for Keyboard shortcuts in WPF

Keyboard shortcuts in WPF

Published on September 2, 2023

# 🎮 Mastering Keyboard Shortcuts in WPF 🖥️ Are you tired of wasting precious seconds clicking through menus and buttons in your WPF applications? Want to boost your productivity and impress your coworkers with your ninja-like coding skills? Look no furt

Cover Image for How do you completely remove the button border in wpf?

How do you completely remove the button border in wpf?

Published on September 2, 2023

📝 How to Say Goodbye to Button Borders in WPF: A Hassle-Free Guide 💥 Are you tired of those pesky button borders ruining the sleek look of your WPF application? Do you want to create buttons with an image inside and no border, just like the stylish Fire

Cover Image for How can I set the color of a selected row in DataGrid
c#

How can I set the color of a selected row in DataGrid

Published on September 2, 2023

📝 **Title: How to Set the Color of a Selected Row in DataGrid** 📷 **Intro Image: Illustration of a colorful row within a DataGrid** --- Have you ever encountered a problem where the default background color of a selected row in a DataGrid is too dark

Cover Image for What is Prism for WPF?

What is Prism for WPF?

Published on September 2, 2023

# What is Prism for WPF? 🤔 If you're a WPF developer, you may have heard of Prism. But what exactly is it and why should you learn it? 🤷‍♀️ ## 📚 Let's start with the basics Prism, managed by Microsoft, is a set of guidelines for creating composite ap

Cover Image for Pan & Zoom Image
c#

Pan & Zoom Image

Published on September 2, 2023

# Pan & Zoom Image Made Easy! 🖼️🔍💨 So, you want to create a simple image viewer in WPF that allows users to effortlessly pan, zoom, and even show overlays? You’ve come to the right place! 🙌 ## The Quest for the Perfect Image Viewer Before we dive in

Cover Image for How to add a vertical Separator?

How to add a vertical Separator?

Published on September 2, 2023

💡🔍 How to add a vertical Separator? 💻🔀 Do you want to add a vertical separator to your Grid but can only find the horizontal option? 🤔 Don't worry, we've got you covered! In this guide, we'll address common issues faced when adding a vertical separat

Cover Image for How to add text to a WPF Label in code?
c#

How to add text to a WPF Label in code?

Published on September 2, 2023

# How to Add Text to a WPF Label in Code 🎯 If you're feeling just a little bit "stupid" (don't worry, we all have those moments!), and you're struggling to find out how to add text to a WPF Label control in code, you've come to the right place! In this g

Blog | Matheus Mello