[]
Returns the collection of properties available in the view element type to programmatic access through ViewRow and to data binding.
public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors)
Type | Name | Description |
---|---|---|
PropertyDescriptor[] | listAccessors | An array of PropertyDescriptor objects to find in the collection as bindable. Can be null. |
Type | Description |
---|---|
PropertyDescriptorCollection |
If listAccessors is null, this method returns the collection of properties of the view element type.
Non-null listAccessors is used for obtaining property collection for hierarchical binding: If listAccessors contains a single element, then it is used to find an object-valued property in the element type, and the collection of properties of the type of that object-valued property is returned. If listAccessors contains two elements, then its second element is used to find an object-valued property in the collection of properties on the previous level, and so on, see ITypedList.GetItemProperties for more information.