VincentH-Net / CSharpForMarkup

Concise, declarative C# UI markup for .NET browser / native UI frameworks
MIT License
748 stars 43 forks source link

Support for CollectionView #12

Closed silentdiverchris closed 4 years ago

silentdiverchris commented 4 years ago

I'm trying to define a page with the markup and need a CollectionView, but can't work out how to define the ItemTemplate or ItemsLayout.

CollectionView isn't mentioned in any of your documentation and I can't find any matches for various searches I've done looking for examples or mentions.

I can go back to using XAML for the page, but I'd really prefer not to; for this old coder, defining things with pages of wordy untyped text that can easily disagree with itself just seems like going back to writing HTML in Notepad !!

silentdiverchris commented 4 years ago

Seems I'm asking in the wrong place, but nevertheless, there doesn't seem to be any information about how to use a CollectionView to handle a collection of models from raw, naked lovely C#, I'll keep digging.