Milot25 Milot25 - 10 months ago 80
C# Question

Custom shaped text box in windows forms?

I want to insert a custom shaped

like an oval or a triangle
or any
in win forms.

I tried telerik textbox controls and c1 controls but couldn't find any shaped control.

By the way can I add a rectangle or a line or any other shape in windows forms just like in ms power point and type text into it and format it and so on, change its size and use as a control which has the same properties of a win control?

I tried the above but could't get it.


Answer Source

Here's an article with example that discusses the region property that can be used to shape a control.