Skip to main content

ControlCaption

The ControlCaption class represents the caption settings for form controls, including text, position, size, font, visibility, and alignment.

Properties

NameDescription
HorizontalAlignThe horizontal alignment of the control caption.
PositionThe position of the control caption relative to the control.
VisibleIndicates whether the control caption is visible.
SizeThe size of the control caption.
MarkSettingsThe settings for marking the control caption.
EllipsisIndicates whether the control caption should display ellipsis when text overflows.
VerticalAlignThe vertical alignment of the control caption.
TextThe multi-language text of the control caption.
ShowColonIndicates whether a colon should be shown after the control caption.
FontThe font settings of the control caption.

Constructors

NameDescription
ControlCaption()Initializes a new instance of the ControlCaption class with default values.

Methods

NameDescription
GetDifferences(otherObj)Compares the current instance with another control caption and returns the differences.