Enum TextWrapElement
Defines which elements have text wrapping applied in the MultiColumnComboBox component.
Namespace: Syncfusion.Blazor.MultiColumnComboBox
Assembly: Syncfusion.Blazor.dll
Syntax
public enum TextWrapElement
Remarks
Text wrapping allows long text to be displayed across multiple lines within cells, improving readability and ensuring all content is visible. Different wrapping strategies can be applied based on specific UI requirements and content characteristics.
- BothDefault option. Applies text wrapping to both header and content cells.
- HeaderApplies text wrapping only to header cells, keeping content cells on single lines.
- ContentApplies text wrapping only to content cells, keeping header cells on single lines.
Examples
The following example demonstrates how to configure text wrapping:
<SfMultiColumnComboBox TValue="string" TItem="Employee"
DataSource="@Employees"
AllowTextWrap="true"
TextWrapElement="TextWrapElement.Content">
</SfMultiColumnComboBox>
Fields
| Name | Description |
|---|---|
| Both | Applies text wrapping to both column headers and cell content throughout the MultiColumnComboBox. |
| Content | Applies text wrapping only to content cells in the MultiColumnComboBox. |
| Header | Applies text wrapping only to column header cells in the MultiColumnComboBox. |