CUstom PictureBox

Answered
0
0

Hey guys!

Hope you all good. At this time I want to custom a picture box control. I’m trying to round the PictureBox radius to make it look as an ellipse. I’m modifying the theme as follow:

Application.Theme.Appearances.picturebox.states["default"].styles.radiustopleft = "15";

No success with that. Once it works for radiusTopLeft, I can do the same for TopRight, BottomLeft, BottomRight. Any advice please?

  • You must to post comments
Best Answer
0
0

Carlos,

this should work:

Application.Theme.Appearances.picturebox.states["default"].styles.radiusTopLeft = 15;

Best regards
Frank

  • Carlos Lino
    I had tried that before with no success and now comparing what you adviced, I see that I did not type in the first initial “TopLeft” in uppercase. Now it works! Thank you!!! You Rock!
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.