The UWP Notepad Project (Redux): Find/Replace (Premium)

For this installment of our UWP project, we’ll implement Find, Find Next, Find Previous, Replace, and Replace All with a fun new custom dialog.

And I am pretty proud of that dialog. But since I already wrote about how I designed the Find and Replace dialogs as a single ContentDialog back in The UWP Files: Find Your Way Back (Premium), you can read that if you’re interested. The short version is that we display the entire dialog when the user selects the Replace button, but we hide the middle two rows of controls---the “Replace with” textblock and textbox, the Replace button, and the Replace button---when they select the Find button.

To get started, let’s add the code for this new ContentDialog, called FindReplaceDialog, to our XAML. It should go right below the SavePromp...

Gain unlimited access to Premium articles.

With technology shaping our everyday lives, how could we not dig deeper?

Thurrott Premium delivers an honest and thorough perspective about the technologies we use and rely on everyday. Discover deeper content as a Premium member.

Tagged with

Share post

Please check our Community Guidelines before commenting

Windows Intelligence In Your Inbox

Sign up for our new free newsletter to get three time-saving tips each Friday

"*" indicates required fields

This field is for validation purposes and should be left unchanged.

Thurrott © 2024 Thurrott LLC