Skip to content

Latest commit

 

History

History

c3-AttachedProperties

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Extending a UI element without subclassing using attached properties

This example is part of a recipe from the book published by Packt:

.NET MAUI Cookbook: Build a full-featured app swiftly with MVVM, CRUD, AI, authentication, real-time updates, and more

In the book, this recipe covers:

  • Creating an attached property that selects all text in an Entry when it’s focused.
  • The difference between bindable and attached properties.
  • How to set attached properties in styles.

Note: This example may not include all the points mentioned above. For complete details, please refer to the corresponding recipe in the book.