Button with Rounded Corners Programmatically

FabioMelendezFabioMelendez USMember, 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 USMember, University

    Never mind found the solution :)

  • HarshadcseHarshadcse USMember ✭✭✭
  • ADeCraemerADeCraemer USMember

    share the solution?

  • DooksDooks 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.