'Declaration Protected Sub Initialize( _ ByVal name As String, _ ByVal title As String, _ ByVal dataType As Type, _ ByVal isReadOnly As Nullable(Of Boolean), _ ByVal overrideReadOnlyForInsertion As Nullable(Of Boolean), _ ByVal isDisplayable As Nullable(Of Boolean), _ ByVal isASubRelationship As Nullable(Of Boolean) _ )
'Usage Dim instance As DataGridItemPropertyBase Dim name As String Dim title As String Dim dataType As Type Dim isReadOnly As Nullable(Of Boolean) Dim overrideReadOnlyForInsertion As Nullable(Of Boolean) Dim isDisplayable As Nullable(Of Boolean) Dim isASubRelationship As Nullable(Of Boolean) instance.Initialize(name, title, dataType, isReadOnly, overrideReadOnlyForInsertion, isDisplayable, isASubRelationship)
protected void Initialize( string name, string title, Type dataType, Nullable<bool> isReadOnly, Nullable<bool> overrideReadOnlyForInsertion, Nullable<bool> isDisplayable, Nullable<bool> isASubRelationship )
Parameters
- name
- A string representing the name of a property in a DataGridCollectionView.
- title
- A string representing the title of the item property.
- dataType
- The property's data type.
- isReadOnly
- true if the DataGridItemProperty is readonly; false otherwise.
- overrideReadOnlyForInsertion
- true if the corresponding cell can be edited when a new item is being inserted, regardless of the value of the IsReadOnly property, false if the value of the IsReadOnly property is respected.
- isDisplayable
- true if the DataGridItemProperty can generate a column if need be; false otherwise.
- isASubRelationship
- true if the item property represents a sub relationship; false otherwise.