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


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GridElement 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 GridElement
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 representing how text displayed in the cell will be trimmed when it exceeds the edges of the layout rectangle.
Remarks

This property is only applied when WordWrap is true.

If the IsTrimmingAmbient property returns true, then the value of the Trimming property is inherited from its parent.

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

GridElement Class
GridElement Members