win10 uwp xaml 绑定接口
Youcan’tdothisallinXAML,butyoucandoiteasilywithalittlebitofcode.TheItemTemplateSelectorpropertyofItemsControlcanbeusedtopickwhichDataTemplateyouwanttouseforeachitem.IntheSelectTemplatemethodforyourtemplateselector,youreceiveasaparametertheitemyouwilltempl