TitleBar.Icon Property

Definition

Gets or sets an optional icon image of the title bar. Icon images should be 16x16 pixels in size.

Setting this property to an empty value will hide the icon.

C#
public Microsoft.Maui.Controls.ImageSource Icon { get; set; }

Property Value

Applies to

Product Versions
.NET MAUI 9