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


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

    Property Value

    A boolean value representing the default value of the ReadOnly property. Unless overridden, false.
    Remarks

    When overriding DefaultReadOnly in a derived class, IsReadOnlyAmbient should also be overridden to return false.

    The value returned by your implementation of DefaultReadOnly should not be dynamic.

    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