Xceed DataGrid for Silverlight Documentation
TextTrimming Property (EditableCell)


Gets or sets a value that indicates the text trimming behavior to use when content overflows the content area.
Syntax
'Declaration
 
Public ReadOnly Property TextTrimming As TextTrimming
'Usage
 
Dim instance As EditableCell
Dim value As TextTrimming
 
instance.TextTrimming = value
 
value = instance.TextTrimming
public TextTrimming TextTrimming {get;}

Property Value

A TextTrimming enumeration that specifies the text trimming behavior to use when content overflows the content area. By default, WordEllipsis.
Remarks

The values of the TextTrimming and TextWrapping properties will only be applied when the default content templates are used (i.e., a custom template has not been provided via a style or through the CellContentTemplate property). If a cell-content template is provided, the values of the TextTrimming and TextWrapping properties, as defined by the cell or column, will be ignored.

To trim or wrap content when a custom template is provided, a TextBlock must be included in the template and its TextTrimming and TextWrapping properties set to the desired values.

Requirements

Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family

See Also

Reference

EditableCell Class
EditableCell Members

Send Feedback