Milot25 Milot25 - 17 days ago 7
C# Question

Custom shaped text box in windows forms?

I want to insert a custom shaped

TextBox
like an oval or a triangle
TextBox
or
Label
or any
Control
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.

thanks!

Answer

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

Comments