Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

How can I add context actions to an iOS ListView only?

The code below crashed on Android. Any suggestions?

        <OnPlatform x:TypeArguments="MenuItem">
            <On Platform="iOS">
                <MenuItem Text="Delete" CommandParameter="{Binding .}" Clicked="MenuItem_Clicked" IsDestructive="True"/>



  • seanydaseanyda GBMember ✭✭✭✭✭

    What was the exception that was thrown?

  • SomewhereElseSomewhereElse USMember ✭✭

    @seanyda said:
    What was the exception that was thrown?

    The application is in break mode
    Your app has entered a break state, but there is no code to show because all threads were executing external code (typically system or framework code).
    System.NullReferenceException: Object reference not set to an instance of an object.

Sign In or Register to comment.