Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GridElement Class / AmbientWordWrap Property


In This Topic
    AmbientWordWrap Property (GridElement)
    In This Topic
    Gets the ambient value of the grid element's WordWrap property.
    Syntax
    'Declaration
     
    Protected Overridable ReadOnly Property AmbientWordWrap As Boolean
    'Usage
     
    Dim instance As GridElement
    Dim value As Boolean
     
    value = instance.AmbientWordWrap
    protected virtual bool AmbientWordWrap {get;}

    Property Value

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

    The ambient value is inherited from the grid element's parent in the case where its own WordWrap property is not explicitly set.

    If the value of the IsWordWrapAmbient property is true then both the AmbientWordWrap and WordWrap properties will return the same value.

    If the grid element does not have an ambient parent, then the value of the DefaultWordWrap property will be returned.

    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