officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-tablepropertiesbase-31cac1cb.md
Gets or sets the Table.TableLayout table property.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
TableLayoutType? TableLayout { get; set; }
Property TableLayout As TableLayoutType?
| Type | Description |
|---|---|
| Nullable<TableLayoutType> |
A TableLayoutType enumeration value or null , if not set.
|
Available values:
| Name | Description |
|---|---|
| Autofit |
The table is displayed using the autofit layout algorithm.
| | Fixed |
The table is displayed using a fixed layout algorithm.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the TableLayout property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-richedit-document-api/CS/RichEditAPISample/CodeExamples/Table.cs#L125
tStyleMain.CellBackgroundColor = System.Drawing.Color.LightBlue;
tStyleMain.TableLayout = TableLayoutType.Fixed;
tStyleMain.Name = "MyTableStyle";
wpf-richedit-document-api/CS/DXRichEditControlAPISample/CodeExamples/TableActions.cs#L93
tStyleMain.CellBackgroundColor = System.Drawing.Color.LightBlue;
tStyleMain.TableLayout = TableLayoutType.Fixed;
tStyleMain.Name = "MyTableStyle";
winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/Table.vb#L113
tStyleMain.CellBackgroundColor = System.Drawing.Color.LightBlue
tStyleMain.TableLayout = DevExpress.XtraRichEdit.API.Native.TableLayoutType.Fixed
tStyleMain.Name = "MyTableStyle"
wpf-richedit-document-api/VB/DXRichEditControlAPISample/CodeExamples/TableActions.vb#L83
tStyleMain.CellBackgroundColor = System.Drawing.Color.LightBlue
tStyleMain.TableLayout = TableLayoutType.Fixed
tStyleMain.Name = "MyTableStyle"
See Also