Follow our Telegram channel to get notified instantly whenever new books are published.
GUI Programming With C – Marcelo Guerra Hahn

/> In this case, the label displays “Hello, World!”. The Entry element provides a single-line text input field where users can type information. An example is shown here:
Here’s an example of how to bind a list of items with a name and description:
Similarly, the Theme element allows you to define light and dark modes for the application. The following example shows how to apply a different background color, depending on the theme:
In the next section, we’ll explore how to handle user actions such as button clicks, text input, and navigation using C#. We’ll cover event handling, data binding, and commanding to create responsive, dynamic applications that respond to user input. So, let’s dive into adding interactivity to your application. Adding interactivity with C# In .NET MAUI, event handling allows the application to respond to user interactions by executing event handlers, which are methods that are triggered when an event occurs.
GUI Programming with C# Learn GUI development by building beginner-friendly apps with Blazor, MAUI, and WinUI 3 Marcelo Guerra Hahn GUI Programming with C# Copyright © 2026 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented.
However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. Portfolio Director: Kunal Chaudhari Relationship Lead: Samriddhi Murarka Project Manager: K.
Loganathan Content Engineer: Gowri Rekha Technical Editor: Aditya Bharadwaj Copy Editor: Safis Editing Indexer: Tejal Soni Proofreader: Gowri Rekha Production Designer: Shankar Kalbhor Growth Lead: Vinishka Kalra First published: February 2026 Production reference: 2230226 Published by Packt Publishing Ltd. Grosvenor House 11 St Paul’s Square Birmingham B3 1RB, UK. ISBN 978-1-83588-254-2 www.packtpub.com Contributors About the author Marcelo Guerra Hahn is an educator, technologist, and software developer with experience in computer science and modern application development. He has worked extensively with C# and .NET technologies, focusing on building practical, industry-aligned learning experiences.
Marcelo combines academic rigor with real-world application, emphasizing clean architecture, performance optimization, and maintainable software design. His work bridges the gap between foundational computer science principles and modern development practices. About the reviewers Ricardo Peres is a Portuguese developer from Coimbra, Portugal, where he lives and works. He graduated in informatics engineering from the University of Coimbra and works as a tech lead at Evolve Software. Ricardo is a blogger, author, and contributor to open source projects, a book author and reviewer, and is currently doing a PhD in AI and microservices architectures.
His interests include distributed services, architectures, enterprise application integration, design patterns, and LLMs. Naga Santhosh Reddy Vootukuri is a principal software engineering manager at Microsoft, specializing in cloud computing and artificial intelligence within the C+AI division. Naga has authored and published numerous research articles in peer-reviewed and indexed journals. He has reviewed 10+ technical books on cloud computing and AI. He is a senior member of IEEE and teaches workshops on AI. He writes technical articles as a Core MVB member at DZone, engaging with millions of active readers.
He has presented at 15+ WW conferences about the cloud, AI, and distributed systems.
This is a short excerpt from the opening of “” by Unknown, quoted for review and introduction purposes. All rights belong to the copyright holders.
Book Information
- Unique ID: f556ab38ea5338fb
- File Extension: .pdf
- File Size: 3,345,551 bytes (3.191 MB)
- Title: –
- Author: Unknown
- ISBN: 9781835882542
- Pages: 277
- Language: English (en)
Reading & Word Statistics
- Estimated Reading Time: 210.31 minutes
- Total Words: 42,062
- Total Characters: 297,365
- Average Words per Page: 151.85
- Average Characters per Page: 1073.52
Most Frequent Words
net (312), data (300), application (271), code (266), user (242), applications (232), development (222), view (198), binding (197), app (188), maui (186), components (184), winui (182), using (179), blazor (172), razor (150), project (149), model (143), windows (140), create (140), developers (139), text (136), example (129), xaml (124), visual (116), following (111), button (111), component (111), web (109), new (106), name (106), use (98), studio (97), set (91), file (91), chapter (88), creating (86), mvvm (85), controls (84), performance (83), elements (83), public (78), property (78), logic (78), webassembly (76), structure (75), page (74), experience (73), input (73), content (72), interface (72), between (71), event (71), value (70), across (68), different (68), get (67), allows (66), design (63), techniques (62), platforms (61), dynamic (61), features (61), course (61), control (60), class (60), com (59), properties (59), platform (58), string (57), used (56), figure (56), android (56), grid (56), within (55), build (53), state (53), framework (52), debugging (52), next (52), building (51), changes (51), responsive (51), tools (50), section (50), run (50), textblock (50), desktop (49), microsoft (48), interactive (48), updates (48), click (48), understanding (47), management (47), essential (47), simple (47), method (47), label (46), setting (46), private (45).
