.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

TextBox Properties

Defines text box content and its settings.
Name Description
Document Provides access to text box content.
HeightRule Gets or sets the rule that determines the text box height.
MarginBottom Gets or sets the distance between the bottom of the text and the bottom edge of the text box.
MarginLeft Gets or sets the distance between the left edge of the text and the left side of the text box.
MarginRight Gets or sets the distance between the right edge of the text and the right side of the text box.
MarginTop Gets or sets the distance between the top of the text and the top edge of the text box.
ResizeShapeToFitText Specifies whether to resize the text box to fit its content.
RotateTextWithShape Gets or sets whether to rotate the text box content with the text box.
VerticalTextAlignment Gets or sets the vertical alignment of text box content.
See Also