Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections;
- using System.Windows.Data;
- public class IndexAccessibleListCollectionView : ListCollectionView
- {
- public IndexAccessibleListCollectionView(IEnumerable collection)
- : base(new ArrayList())
- {
- foreach (object item in collection)
- {
- base.InternalList.Add(item);
- }
- }
- public object this[int index]
- {
- get
- {
- return this.GetItemAt(index);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement