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


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GridElement Class : AmbientTrimming Property
Gets the ambient value of the grid element's Trimming property.
Syntax
'Declaration
 
Protected Overridable ReadOnly Property AmbientTrimming As StringTrimming
'Usage
 
Dim instance As GridElement
Dim value As StringTrimming
 
value = instance.AmbientTrimming
protected virtual StringTrimming AmbientTrimming {get;}

Property Value

A System.Drawing.StringTrimming value indicating how text displayed in the grid element will be trimmed when it exceeds the edges of the layout rectangle.
Remarks

The ambient trimming is the trimming inherited from the grid element's parent in the case where its own Trimming property is not explicitly set.

If the value of the IsTrimmingAmbient property is true then both the AmbientTrimming and Trimming properties will return the same value.

If the grid element does not have an ambient parent, then the value of the DefaultTrimming property will be returned.

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