FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.CustomFields.4.8 Assembly / C1.Win.FlexReport.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