coder
coder

Reputation: 13248

How to change textbox text size and position of text in winforms

I have a normal textbox which multiline property is set to true and now I need the text written in the textbox should have a large font size.So is it possible with the normal textbox.

As you can see below the look of my textbox

enter image description here

1.I need to align the text from middle(ie.. not from the center of the textbox it's left middle rather than starting from top.

2.I need to increase the font size.

Upvotes: 0

Views: 2838

Answers (1)

Ash Burlaczenko
Ash Burlaczenko

Reputation: 25475

You can do this using the properties window in Visual Studio.

Click the textbox than find the Font property in the window. Clicking the ... will open a dialog for you to change the font.

You can change the alignment using the TextAlign property.

Upvotes: 2

Related Questions