Increase the gap between text and border area in textbox controls

ankit goel 746 Reputation points
2022-10-19T10:25:14.533+00:00

I want to increase the increase the gap between the written text and Bottom border of a textbox control . Please suggest me a solution .

251948-micr.png

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,825 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,223 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Castorix31 81,636 Reputation points
    2022-10-19T10:37:34.657+00:00

    You can set the TextBox Multiline and call EM_SETRECT
    (I used it in this sample for example)

    0 comments No comments

  2. Rijwan Ansari 746 Reputation points MVP
    2022-10-20T11:35:57.947+00:00

    Hi

    You can increase the margin, font size and try.

    252427-image.png

    0 comments No comments