Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Reporting Namespace / GridElementReportStyle Class / Trimming Property


In This Topic
    Trimming Property (GridElementReportStyle)
    In This Topic
    Gets or sets a value indicating how the text displayed in the grid element will be trimmed when it exceeds the edges of the layout rectangle.
    Syntax
    'Declaration
     
    <DescriptionAttribute("How text in this report element is trimmed if it exceeds the available space.")>
    <CategoryAttribute("Appearance")>
    <EndUserDisplayNameAttribute("Text Trimming Style")>
    Public Property Trimming As StringTrimming
    'Usage
     
    Dim instance As GridElementReportStyle
    Dim value As StringTrimming
     
    instance.Trimming = value
     
    value = instance.Trimming
    [Description("How text in this report element is trimmed if it exceeds the available space.")]
    [Category("Appearance")]
    [EndUserDisplayName("Text Trimming Style")]
    public StringTrimming Trimming {get; set;}

    Property Value

    A System.Drawing.StringTrimming value indicating how the text displayed in the grid element will be trimmed when it is printed in a report. By default, StringTrimming.EllipsisWord.
    Remarks

    The value of the Trimming property of the parent element's ReportStyle will be used in the case where the Trimming property has not been explicitly set.

    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