Enum TextOverflowMode
Defines how cell content is handled when it exceeds the available display area in the MultiColumnComboBox component.
Namespace: Syncfusion.Blazor.MultiColumnComboBox
Assembly: Syncfusion.Blazor.dll
Syntax
public enum TextOverflowMode
Remarks
Text overflow handling is crucial for maintaining layout consistency while ensuring content remains accessible. Different overflow modes provide varying levels of user experience and content visibility.
- ClipTruncates the cell content when it overflows its area.
- EllipsisDisplays ellipsis when the cell content overflows its area.
- EllipsisWithTooltipDisplays ellipsis when the cell content overflows its area and shows tooltip on hover for full content visibility.
Examples
The following example demonstrates how to configure text overflow handling:
<SfMultiColumnComboBox TValue="string" TItem="Employee"
DataSource="@Employees"
TextOverflowMode="TextOverflowMode.EllipsisWithTooltip">
</SfMultiColumnComboBox>
Fields
| Name | Description |
|---|---|
| Clip | Truncates the cell content abruptly when it exceeds the available display area. |
| Ellipsis | Displays an ellipsis ("...") when the cell content exceeds the available display area. |
| EllipsisWithTooltip | Displays an ellipsis ("...") when the cell content exceeds the available display area and shows the full content in a tooltip on hover. |