Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GridElementStyle Class / WordWrap Property


In This Topic
    WordWrap Property (GridElementStyle)
    In This Topic
    Gets or sets a boolean value indicating if the text of the grid element should be wrapped.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Indicates if the text of the grid element should be wrapped.")>
    <CategoryAttribute("Appearance")>
    <ApplyToDesignerAttribute(True)>
    Public Property WordWrap As Boolean
    'Usage
     
    Dim instance As GridElementStyle
    Dim value As Boolean
     
    instance.WordWrap = value
     
    value = instance.WordWrap
    [Description("Indicates if the text of the grid element should be wrapped.")]
    [Category("Appearance")]
    [ApplyToDesigner(true)]
    public bool WordWrap {get; set;}

    Property Value

    true if the text should be wrapped; false otherwise.
    Remarks

    To reset the value of the WordWrap property to its default value, DefaultWordWrap, the ResetWordWrap 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