Xceed Grid for WinForms v4.3 Documentation
ClipPartialLine Property (GridElementStyle)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GridElementStyle Class : ClipPartialLine Property
Gets or sets a boolean value indicating if partial lines should be clipped.
Syntax
'Declaration
 
<DescriptionAttribute("Indicates if partial lines should be clipped.")>

<CategoryAttribute("Appearance")>

<ApplyToDesignerAttribute(True)>

Public Property ClipPartialLine As Boolean
'Usage
 
Dim instance As GridElementStyle

Dim value As Boolean

 

instance.ClipPartialLine = value

 

value = instance.ClipPartialLine
[Description("Indicates if partial lines should be clipped.")]

[Category("Appearance")]

[ApplyToDesigner(true)]

public bool ClipPartialLine {get; set;}

Property Value

true if partial lines should be clipped; false otherwise.
Remarks

If this property is set to true, only lines that can be fully displayed in the cell will be displayed. For example, if a cell contains multi-line text but the height of the cell only allows for one line of text to be displayed properly, the second line will not be displayed. If set to false, and the height of the cell only allows for one line to be displayed properly, it is possible that part of the second line will be visible in the cell.

To reset the value of the ClipPartialLine property to its default value, DefaultClipPartialLine, the ResetClipPartialLine 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

GridElementStyle Class
GridElementStyle Members