Xceed Grid for WinForms v4.3 Documentation
Trimming Property (GridControl)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GridControl Class : Trimming Property
Gets or sets a value indicating how text displayed in the cell will be trimmed when it exceeds the edges of the layout rectangle.
Syntax
'Declaration
 
<DescriptionAttribute("Indicates how text displayed in the cell will be trimmed when it exceeds the edges of the layout rectangle.")>
<CategoryAttribute("Appearance")>
<ApplyToDesignerAttribute(True)>
Public Property Trimming As StringTrimming
'Usage
 
Dim instance As GridControl
Dim value As StringTrimming
 
instance.Trimming = value
 
value = instance.Trimming
[Description("Indicates how text displayed in the cell will be trimmed when it exceeds the edges of the layout rectangle.")]
[Category("Appearance")]
[ApplyToDesigner(true)]
public StringTrimming Trimming {get; set;}

Property Value

A System.Drawing.StringTrimming value indicating how text displayed in the cell will be trimmed when it exceeds the edges of the layout rectangle. By default, System.Drawing.StringTrimming.EllipsisWord.
Remarks

To reset the value of the Trimming property to its default value, DefaultTrimming, the ResetTrimming method must be called.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GridControl Class
GridControl Members