Version

TypedList Property

Returns or sets a reference to the ITypedList implementation which defines the list of properties to which this data source is bound.
Syntax
'Declaration
 
Public Property TypedList As ITypedList
public ITypedList TypedList {get; set;}
Remarks

When the data source's cube data is generated, the list of properties to bind are obtained via the property descriptors for the type referenced by the ItemType property.

Use this property to override the default behavior by filtering out properties of the bound object which should not appear in the data source.

Only the GetItemProperties> method of your ITypedList implementation is used. When the cube generation layer builds the list of properties to be bound, this property is queried to determine whether the default property descriptor list should be overridden.

Note that if the object assigned to the ItemSource property implements the ITypedList interface, that implementation will not be used unless explicitly assigned to this property. This is to maintain legacy behavior; if the bound list object implements ITypedList, but the intent is to use the default list, implicitly using the ITypedList implementation could break existing code.

Requirements

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