Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
770 views
in Technique[技术] by (71.8m points)

templates - UWP: are there other ItemsPanelTemplate(s) besides ItemsWrapGrid

All of my GridView searches are turning up examples only showing ItemsWrapGrid, to use as the ItemsPanelTemplate in a GridView. Are there any other predefined templates ?

question from:https://stackoverflow.com/questions/65947419/uwp-are-there-other-itemspaneltemplates-besides-itemswrapgrid

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Well, you could put a Panel -derived class as the ItemsPanelTemplate.For example, you could use Grid, ItemsStackPanel, StackPanel, RelativePanel, ItemsWrapGrid and etc.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...