Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GroupMargin Class / ClipPartialLine Property


In This Topic
    ClipPartialLine Property (GroupMargin)
    In This Topic
    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)>
    <BrowsableAttribute(False)>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
    Public Shadows Property ClipPartialLine As Boolean
    'Usage
     
    Dim instance As GroupMargin
    Dim value As Boolean
     
    instance.ClipPartialLine = value
     
    value = instance.ClipPartialLine
    [Description("Indicates if partial lines should be clipped.")]
    [Category("Appearance")]
    [ApplyToDesigner(true)]
    [Browsable(false)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    public new 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 grid element 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.

    If the IsClipPartialLineAmbient property returns true, then the value of the ClipPartialLine property is inherited from its parent.

    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