mercredi 10 août 2016

How do I get the Item Type from CollectionView in .net

Say I have an CollectionView, how I get the Item Type?

public Type GetItemType()
{

    CollectionView items = DataGrid.Items;
    Type itemType = items.GetType // ...;

    return itemType;
}





Aucun commentaire:

Enregistrer un commentaire