Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    Table Positioning Dialog

    The Table Positioning dialog allows users to specify table position options: horizontal and vertical position, and distance from surrounding text. The dialog is available for tables with the Text Wrapping option set to Around.

    Click the Positioning… button in the Table Properties dialog to invoke the Table Positioning dialog.

    IMAGE

    Use API from the table below to specify Table Positioning options in code:

    Member Description
    Table.TextWrappingType Wraps text around a table. Set this property to TableTextWrappingType.Around.
    Table.RelativeHorizontalPosition
    Table.HorizontalAlignment
    Table.OffsetXRelative
    Specify a table’s horizontal alignment relative to an element specified by the RelativeHorizontalPosition property. Set the HorizontalAlignment to None to use the OffsetXRelative property.
    Table.RelativeVerticalPosition
    Table.VerticalAlignment
    Table.OffsetXRelative
    Specify a table’s vertical alignment relative to an element specified by the RelativeVerticalPosition property. Set the VerticalAlignment to None to use the OffsetYRelative property.
    Table.MarginTop
    Table.MarginRight
    Table.MarginBottom
    Table.MarginLeft
    Specify the distance between the table and surrounding text.

    Handle the RichEditControl.TablePositioningFormShowing event to customize the default Table Positioning dialog (modify captions, set default dialog values, implement custom validation, etc.) or substitute it with completely new dialog. Refer to the How to: Customize the Search Form or How to: Customize the Hyperlink Form document for a code sample.