The ControlCaption class represents the caption settings for form controls, including text, position, size, font, visibility, and alignment.
Properties
| Name | Description |
|---|
| Text | The multi-language text of the control caption. |
| Font | The font settings of the control caption. |
| HorizontalAlign | The horizontal alignment of the control caption. |
| Visible | Indicates whether the control caption is visible. |
| Ellipsis | Indicates whether the control caption should display ellipsis when text overflows. |
| Position | The position of the control caption relative to the control. |
| MarkSettings | The settings for marking the control caption. |
| ShowColon | Indicates whether a colon should be shown after the control caption. |
| VerticalAlign | The vertical alignment of the control caption. |
| Size | The size of the control caption. |
Constructors
| Name | Description |
|---|
| ControlCaption() | Initializes a new instance of the ControlCaption class with default values. |
Methods
| Name | Description |
|---|
| GetDifferences(otherObj) | Compares the current instance with another control caption and returns the differences. |