Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

c# - How to set border radius for textbox

Is there any way to set the border radius property for a text box in windows forms.

I've tried in ASP.NET but I couldn't get in windows forms.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

As far as I know, No, it is not possible in WinForms with standart TextBox control. Take a look at WPF, instead. That is much better than WinForms for example there is a Border.CornerRadius property that might help you.And there are so other options in WPF which doesn't exist in WinForms.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...