Share via


Visual Basic: DataRepeater Control

CaptionStyle Property

See Also   Example   Applies To

Returns or sets a value that determines the style of the caption, including alignment and visibility.

Syntax

object.CaptionStyle [=integer]

The CaptionStyle property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
integer A numeric expression that determines the alignment of the caption, as shown in Settings.

Settings

Constant Value Description
drpNoCaption 0 The caption is hidden.
drpLeftAligned 1 (Default) The caption is left aligned.
drpRightAligned 2 The caption is right aligned.
drpCentered 3 The caption is centered.