Share via


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.

public:
 property Microsoft::Maui::Controls::ImageSource ^ Icon { Microsoft::Maui::Controls::ImageSource ^ get(); void set(Microsoft::Maui::Controls::ImageSource ^ value); };
public Microsoft.Maui.Controls.ImageSource Icon { get; set; }
member this.Icon : Microsoft.Maui.Controls.ImageSource with get, set
Public Property Icon As ImageSource

Property Value

Applies to