C# Class System.Windows.Forms.ListBindingHelper

Show file Open project: mahasak/dotnet452 Class Usage Examples

Private Properties

Property Type Description
CreateInstanceOfType object
GetFirstItemByEnumerable object
GetListItemPropertiesByEnumerable System.Windows.Forms.PropertyDescriptorCollection
GetListItemPropertiesByEnumerable System.Windows.Forms.PropertyDescriptorCollection
GetListItemPropertiesByEnumerable System.Windows.Forms.PropertyDescriptorCollection
GetListItemPropertiesByInstance System.Windows.Forms.PropertyDescriptorCollection
GetListItemPropertiesByType System.Windows.Forms.PropertyDescriptorCollection
GetListItemPropertiesByType System.Windows.Forms.PropertyDescriptorCollection
GetListItemPropertiesByType System.Windows.Forms.PropertyDescriptorCollection
GetListItemTypeByEnumerable Type
GetListNameFromType string
GetTypedIndexer PropertyInfo
IsListBasedType bool

Public Methods

Method Description
GetList ( object list ) : object
GetList ( object dataSource, string dataMember ) : object
GetListItemProperties ( object list ) : System.Windows.Forms.PropertyDescriptorCollection
GetListItemProperties ( object list, Array listAccessors ) : System.Windows.Forms.PropertyDescriptorCollection
GetListItemProperties ( object dataSource, string dataMember, Array listAccessors ) : System.Windows.Forms.PropertyDescriptorCollection
GetListItemType ( object list ) : Type
GetListItemType ( object dataSource, string dataMember ) : Type
GetListName ( object list, Array listAccessors ) : string

Private Methods

Method Description
CreateInstanceOfType ( Type type ) : object
GetFirstItemByEnumerable ( IEnumerable enumerable ) : object
GetListItemPropertiesByEnumerable ( IEnumerable enumerable ) : System.Windows.Forms.PropertyDescriptorCollection
GetListItemPropertiesByEnumerable ( IEnumerable enumerable, Array listAccessors ) : System.Windows.Forms.PropertyDescriptorCollection
GetListItemPropertiesByEnumerable ( IEnumerable iEnumerable, Array listAccessors, int startIndex ) : System.Windows.Forms.PropertyDescriptorCollection
GetListItemPropertiesByInstance ( object target, Array listAccessors, int startIndex ) : System.Windows.Forms.PropertyDescriptorCollection
GetListItemPropertiesByType ( Type type ) : System.Windows.Forms.PropertyDescriptorCollection
GetListItemPropertiesByType ( Type type, Array listAccessors ) : System.Windows.Forms.PropertyDescriptorCollection
GetListItemPropertiesByType ( Type type, Array listAccessors, int startIndex ) : System.Windows.Forms.PropertyDescriptorCollection
GetListItemTypeByEnumerable ( IEnumerable iEnumerable ) : Type
GetListNameFromType ( Type type ) : string
GetTypedIndexer ( Type type ) : PropertyInfo
IsListBasedType ( Type type ) : bool

Method Details

GetList() public static method

public static GetList ( object list ) : object
list object
return object

GetList() public static method

public static GetList ( object dataSource, string dataMember ) : object
dataSource object
dataMember string
return object

GetListItemProperties() public static method

public static GetListItemProperties ( object list ) : System.Windows.Forms.PropertyDescriptorCollection
list object
return System.Windows.Forms.PropertyDescriptorCollection

GetListItemProperties() public static method

public static GetListItemProperties ( object list, Array listAccessors ) : System.Windows.Forms.PropertyDescriptorCollection
list object
listAccessors Array
return System.Windows.Forms.PropertyDescriptorCollection

GetListItemProperties() public static method

public static GetListItemProperties ( object dataSource, string dataMember, Array listAccessors ) : System.Windows.Forms.PropertyDescriptorCollection
dataSource object
dataMember string
listAccessors Array
return System.Windows.Forms.PropertyDescriptorCollection

GetListItemType() public static method

public static GetListItemType ( object list ) : Type
list object
return Type

GetListItemType() public static method

public static GetListItemType ( object dataSource, string dataMember ) : Type
dataSource object
dataMember string
return Type

GetListName() public static method

public static GetListName ( object list, Array listAccessors ) : string
list object
listAccessors Array
return string