Forum Discussion
Daniel_Donnelly_Jr
Dec 05, 2022Copper Contributor
How do you add an image logo to the Title header of a ContentPage?
Right now, following James Montemagno's tutorials on .NET MAUI, the Title header of my content pages just consists of a text string, but I would like an image logo there. Any way to do it?
jhons122
Copper Contributor
To add an image logo to the Title header of a ContentPage, you can use the Image property of TitleView. Just set the Image property to the desired logo image and it will be displayed in the header. You can also optionally provide a TapGestureRecognizer to the TitleView to make the logo image clickable.
Daniel_Donnelly_Jr
Dec 17, 2022Copper Contributor