Skip to main content
All docs
V26.1
  • TContentItem.Alignment Property

    Specifies horizontal and vertical content alignment within the widget client area.

    Declaration

    property Alignment: TdxSplashFormBase.TItemAlignment read;

    Property Value

    Type Description
    TdxSplashFormBase.TItemAlignment

    Stores content alignment options for Splash Form widgets.

    Remarks

    Use Alignment.Horizontal and Alignment.Vertical properties to position content horizontally and vertically within widget boundaries.

    Horizontal Content Positions

    Assign the following values to the Alignment.Horizontal property to switch between available horizontal content positions:

    TdxSplashFormBase.TAlignment.Near

    Default. Content is aligned to the near widget border. The near border position depends on the application-wide BiDiMode property value:

    bdLeftToRight | bdRightToLeftNoAlign | bdRightToLeftReadingOnly
    Standard Splash/Wait form layout. The left widget border is interpreted as near. Widget content is left-aligned.
    bdRightToLeft
    Mirrored Splash/Wait form layout. The right widget border is interpreted as near. Widget content is right-aligned.
    TdxSplashFormBase.TAlignment.Center
    Content is centered horizontally.
    TdxSplashFormBase.TAlignment.Far

    Content is aligned to the far widget border. The far border position depends on the application-wide BiDiMode property value:

    bdLeftToRight | bdRightToLeftNoAlign | bdRightToLeftReadingOnly
    Standard Splash/Wait form layout. The right widget border is interpreted as far. Widget content is right-aligned.
    bdRightToLeft
    Mirrored Splash/Wait form layout. The left widget border is interpreted as far. Widget content is left-aligned.

    Vertical Content Positions

    Assign the following values to the Alignment.Vertical property to switch between available vertical content positions:

    TdxSplashFormBase.TAlignment.Near
    Default. Content is aligned to the near (top) widget border.
    TdxSplashFormBase.TAlignment.Center
    Content is centered vertically.
    TdxSplashFormBase.TAlignment.Far
    Content is aligned to the far (bottom) widget border.
    See Also