Skip to content

With Xamarin.Forms 5 I get "XLS0504 'Items' does not support values of type 'ArrayExtension (Array)'" in XAML #2

@thomiel

Description

@thomiel

in MainPage.xaml:

            <controls:ContextMenuButton.Items>
                <x:Array Type="{x:Type MenuItem}">
                    <MenuItem Text="Command 1"/>
                    <MenuItem Text="Command 2"/>
                    <MenuItem Text="Command 3"/>
                </x:Array>
            </controls:ContextMenuButton.Items>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions