Attached Properties

Attached properties in .NET MAUI are used to apply additional properties to the elements that haven't been defined by their own classes. These property types allow us to extend the functionality of the elements without having to modify them.

To examine how attached properties work, we'll use the project setup below:

Get hands-on with 1400+ tech skills courses.