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


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

    Property Value

    true if the grid element's content can be edited.; false otherwise.
    Remarks

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

    If the value of the IsReadOnlyAmbient property is true then both the AmbientReadOnly and ReadOnly properties will return the same value.

    If the grid element does not have an ambient parent, then the value of the DefaultReadOnly 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