Icon TContentPosition

Unit: WebCtrls

TContentPosition = (cpSpecified,cpTopLeft,cpTopCenter,cpTopRight,
       cpCenterLeft,cpCenterCenter,cpCenterRight, cpBottomLeft,
      cpBottomCenter,cpBottomRight)

Available In: Client Applications

The TContentPosition enumerated type is used with the TContentLayout class to specify how content elements should be positioned for UI elements and controls.

ElementDescription
cpBottomCenterSpecifies that the content element should be centered horizontally at the bottom of the containing element or control.
cpBottomLeftSpecifies that the content element should be displayed at the bottom-left of the containing element or control.
cpBottomRightSpecifies that the content element should be displayed at the bottom-right of the containing element or control.
cpCenterCenterSpecifies that the content element should be centered horizontally and vertically within the containing element or control.
cpCenterLeftSpecifies that the content element should be centered vertically at the left of the containing element or control.
cpCenterRightSpecifies that the content element should be centered vertically at the right of the containing element or control.
cpSpecifiedSpecifies that the content element should be positioned according to the TContentLayout Left and Top properties.
cpTopCenterSpecifies that the content element should be centered horizontally at the top of the containing element or control.
cpTopLeftSpecifies that the content element should be displayed at the top-left of the containing element or control.
cpTopRightSpecifies that the content element should be displayed at the top-right of the containing element or control.
Image