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


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > SpacerRow 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)>

<BrowsableAttribute(False)>

<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>

Public Shadows Property Trimming As StringTrimming
'Usage
 
Dim instance As SpacerRow

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)]

[Browsable(false)]

[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]

public new 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

SpacerRow Class
SpacerRow Members