Skip to content

Issue with <ToolbarItem /> controls method 'FontImage' -> 'FontImageSource' #3111

@SoumyadipYT-OSS

Description

@SoumyadipYT-OSS

Type of issue

Typo

Description

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:models="clr-namespace:Notes.Models"
             x:DataType="models:AllNotes"
             x:Class="Notes.Views.AllNotesPage"
             Title="AllNotesPage">

    <ContentPage.ToolbarItems>
        <ToolbarItem Text="Add" Clicked="Add_Clicked" IconImageSource="{FontImageSource Glyph='+', Color=Black, Size=22}" />
    </ContentPage.ToolbarItems>


    <CollectionView>
    </CollectionView>

</ContentPage>

In the mslearn documentation it is 'FontImage' that is obsolete with .NET 10.0.100, use 'FontImageSource'.

Page URL

https://learn.microsoft.com/en-us/dotnet/maui/tutorials/notes-app?view=net-maui-10.0

Content source URL

https://github.com/dotnet/docs-maui/blob/main/docs/tutorials/notes-app.md

Document Version Independent Id

720bf7f0-db92-f738-b864-ee149a02377b

Platform Id

295e87f0-f95d-10f0-eda0-721995eccb60

Article author

@davidortinau

Metadata

  • ID: 720bf7f0-db92-f738-b864-ee149a02377b
  • PlatformId: 295e87f0-f95d-10f0-eda0-721995eccb60
  • Service: dotnet-mobile
  • Sub-service: dotnet-maui

Related Issues

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions