Reports for WinForms | ComponentOne
C1.C1Report.CustomFields.4 Assembly / C1.C1Report.CustomFields.Maps Namespace / Util Class / SetReadOnlyAttribute Method / SetReadOnlyAttribute(PropertyDescriptor,Boolean) Method

In This Topic
    SetReadOnlyAttribute(PropertyDescriptor,Boolean) Method
    In This Topic
    NOTE: Property MUST HAVE [ReadOnly(...)] specified already (in source)!!! otherwise this blows things up majorly.
    Syntax
    'Declaration
     
    Public Overloads Shared Sub SetReadOnlyAttribute( _
       ByVal prop As PropertyDescriptor, _
       ByVal isReadOnly As Boolean _
    ) 
    public static void SetReadOnlyAttribute( 
       PropertyDescriptor prop,
       bool isReadOnly
    )

    Parameters

    prop
    isReadOnly
    See Also