Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exposing Items in Grouping? #18

Closed
pboisso opened this issue Apr 11, 2017 · 0 comments
Closed

Exposing Items in Grouping? #18

pboisso opened this issue Apr 11, 2017 · 0 comments

Comments

@pboisso
Copy link

pboisso commented Apr 11, 2017

Hi James,

Was wondering if you could expose the Items property as public in the Grouping class? We have a need for that.

public class Grouping<K, T> : ObservableCollection<T>
{
	public K Key { get; private set; }

            **public IList<T> Items { get { return base.Items; } }**

	public Grouping(K key, IEnumerable<T> items)
	{
		Key = key;
		foreach (var item in items)
			this.Items.Add(item);
	}
}

Thanks and have a good one.

P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant