Xceed DataGrid for Silverlight Documentation
TextTrimming Property (Column)


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

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

Column Class
Column Members

Send Feedback