Home / FAQ / ASP.NET / TextBox / How to programmatically set the width of the textbox control
VB.NET
TextBox1.Width = Unit.Pixel(100)
C#
TextBox1.Width = Unit.Pixel(100);
Platform BlazorASP.NETWinFormsWPF
Question *
Answer (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with