How can I add a button inside var content page in code-behind ?

How can I add a button inside var content page in code-behind ? im trying to make an list view of content pages each with its own button

          var content = new ContentPage
        {

            Title = EntryTitulo.Text,


            Content = new Label
            {
                Text = EntryText.Text,
                VerticalOptions = LayoutOptions.CenterAndExpand,
                HorizontalOptions = LayoutOptions.CenterAndExpand,

            },

                //I want to add a button here.... 

    };

Best Answer

Answers

Sign In or Register to comment.