Back to Devexpress

GridDataColumnSettings.AllowEllipsisInText Property

aspnet-devexpress-dot-web-dot-griddatacolumnsettings-451aa98c.md

latest2.3 KB
Original Source

GridDataColumnSettings.AllowEllipsisInText Property

Specifies if the column’s (row’s for ASPxVerticalGrid) cell texts can be automatically truncated if they don’t fit into the cell width.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean AllowEllipsisInText { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
Public Property AllowEllipsisInText As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

One of the enumeration values.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Remarks

Set the AllowEllipsisInText property to true to automatically truncate the column’s (row’s for ASPxVerticalGrid) cell texts if they don’t fit into the column width. To indicate that the text is clipped, the control displays an ellipsis (‘…’).

Note

Enabling the AllowEllipsisInText property changes the display of multi-line text cells: cells are displayed on one line, their texts are truncated and text truncation is indicated with ellipsis symbols.

If the AllowEllipsisInText property is set to Default , the text truncation availability is controlled by the ASPxGridBehaviorSettings.AllowEllipsisInText property.

See Also

GridDataColumnSettings Class

GridDataColumnSettings Members

DevExpress.Web Namespace