ListBindingHelper

Wisej.Web.ListBindingHelper

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Provides functionality to discover a bindable list and the properties of the items contained in the list when they differ from the public properties of the object to which they bind.

public class ListBindingHelper

Methods

Returns a list associated with the specified data source.

Returns: Object. An Object representing the underlying list if it exists; otherwise, the original data source specified by list .

Returns an object, typically a list, from the evaluation of a specified data source and optional data member.

Returns: Object. An Object representing the underlying list if it was found; otherwise, dataSource .

Throws:

  • ArgumentException The specified data member name did not match any of the properties found for the data source.

Returns the PropertyDescriptorCollection that describes the properties of an item type contained in a specified data source, or properties of the specified data source.

Returns: PropertyDescriptorCollection. The PropertyDescriptorCollection containing the properties of the items contained in list , or properties of list..

Returns the PropertyDescriptorCollection that describes the properties of an item type contained in a collection property of a data source. Uses the specified PropertyDescriptor array to indicate which properties to examine.

Returns: PropertyDescriptorCollection. The PropertyDescriptorCollection describing the properties of the item type contained in a collection property of the data source.

Returns the PropertyDescriptorCollection that describes the properties of an item type contained in the specified data member of a data source. Uses the specified PropertyDescriptor array to indicate which properties to examine.

Returns: PropertyDescriptorCollection. The PropertyDescriptorCollection describing the properties of an item type contained in a collection property of the specified data source.

Throws:

  • ArgumentException The specified data member could not be found in the specified data source.

Returns the data type of the items in the specified list.

Returns: Type. The Type of the items contained in the list.

Returns the data type of the items in the specified data source.

Returns: Type. For complex data binding, the Type of the items represented by the dataMember in the data source; otherwise, the Type of the item in the list itself.

Returns the name of an underlying list, given a data source and optional PropertyDescriptor array.

Returns: String. The name of the list in the data source, as described by listAccessors , or the name of the data source type.

Last updated