I created mycustomItemsPanelinApp.Resources
<Application.Resources>
<ItemsPanelTemplate x:Key="mycustomItemsPanel">
.... Some code here
</ItemsPanelTemplate>
</Application.Resources>
and thus providing this UIControl
<.... ItemsPanel="{StaticResource mycustomItemsPanel}" />
But I found out that it can be provided as
<.... ItemsPanel="Binding Source={StaticResource mycustomItemsPanel}}" />
What is the difference between the two?
source
share