Version

PropertyGridPropertyItem Constructor

Constructor.
Syntax
'Declaration
 
Public Function New( _
   ByVal sourceObject As Object, _
   ByVal propertyName As String, _
   ByVal categoryName As String, _
   ByVal propertyType As Type, _
   ByVal isReadOnly As Boolean, _
   ByVal isTypeConverterCustomProperty As Boolean _
)
public PropertyGridPropertyItem( 
   object sourceObject,
   string propertyName,
   string categoryName,
   Type propertyType,
   bool isReadOnly,
   bool isTypeConverterCustomProperty
)

Parameters

sourceObject
The source object that contains the property representyed by the property item.
propertyName
The name of the property.
categoryName
The name of the category to which the property belongs.
propertyType
The type of the property.
isReadOnly
The read-only status of the property.
isTypeConverterCustomProperty
True if the property was obtained via TypeConverter.GetProperties, otherwise false.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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