### TextBlockControl

This control sizes the text to fit its constraints, unlike the TextBox control which is either cut off or wraps when a line of text comes to the boundary. This control lets you display either text or expressions.

Properties

The following properties are available for this control.

Left - This determines the position of the control from the left side of the canvas.

Top - This determines the position of the control from the top side of the canvas.

Text - This determines the string of text to display or the expression to use.

FontFamily - This determines the typeface applied to the text used by the control.

FontStyle - This determines the style of font (italics, normal, oblique).

FontWeight - This determines how bold the text is.

FontSize - This determines the size of the text.

Foreground - This determines the control's foreground (or text) color. To change the color simply select a new color from the list or click the Brush icon to the right to define a custom color.

Background - This determines the control's background color. To change the color simply select a new color from the list or click the Brush icon to the right to define a custom color.

Name - This provides the control with a unique name. If you have more than one control of the same type on the canvas, the software will append a number to the name of the control to make it unique. You can change this to whatever name you want as long as it remains unique from other controls.

Width - This sets the width of the control. If you click the Auto icon , the width expands or shrinks to match the width used by the canvas.

Height - This sets the height of the control. If you click the Auto icon , the height expands or shrinks to match the height used by the canvas.