Button xmal.cs Event Clicked. Help

            int i = 0;
            foreach (var manutencao in SQL_Access._Manutencao)
            {          
                GridButoes.RowDefinitions.Add(new RowDefinition { Height = new GridLength(1, GridUnitType.Auto) });

                GridButoes.Children.Add(new Button {
                    Text = manutencao.Seccao,
                    BackgroundColor = Color.FromHex("#0061B1"),
                    BorderColor = Color.Black,
                    TextColor = Color.White,
                    WidthRequest = 250,
                    HeightRequest = 40,
                    FontSize = 20,
               }, 0, i);
                i++;
            }

Hey guys, i dont know where i can use a click event with that method. Somebody can help me? Thanks

Tagged:
Sign In or Register to comment.