Hello,
as subject, how can i change the height of a TextboxTool?
thank you.
If you want to use a multiline text box, it would be better to add a multiline .Net TextBox to your Form and use a ControlContainerTool with it as the control rather than a TextBoxTool.
i understand.
I have made a simple example creating a class that implement the ICreationFilter and the result is this:
now the question is: how to show the text in 2 rows inside the resized textboxtool?
is this possible?
The height of the TextBoxTool is based only on the size of the font being used within in, so you cannot change it. Also, tools can only occupy one or three logical rows in a ribbon group. You cannot have a tool span two rows. If the tool were on a toolbar, you can use a ControlContainerTool and place a TextBox control within it. Then you can set the height of the TextBox as you normally would.