Button with Rounded Corners Programmatically

FabioMelendezFabioMelendez Fabio MelendezUSMember, University

Have an ImageButton that I am trying to set the properties to have rounded corners, but can't seem to find where in the object to set it.

Best Answer


  • FabioMelendezFabioMelendez Fabio Melendez USMember, University

    Never mind found the solution :)

  • HarshadcseHarshadcse Harshad Patel USMember ✭✭✭
  • ADeCraemerADeCraemer Arne De Craemer USMember

    share the solution?

  • DooksDooks Pierre Duvenage ZAMember

    var pd = new PaintDrawable(Color.White); //Background Color
    //Set to the background of the view
    myView.Background = pd;

Sign In or Register to comment.