Keyword: x:Shared="false"
Posted: 12 Apr 2020, 22:10
Hi,
I have a resource:
<Image x:Key="Icon_TrashCan" x:Shared="false" Source="/Assets/UI/Icons/Icon_TrashCan.png"/>
That I use in a DataTemplate in a ListView. In windows wpf I use the x:Shared="false" keyword in order to get the icon on every row on the list. NoesisGUI don't seem to support that keyword so how am I supposed to use it? As it is the icon is only shown on one of the rows in the ListView the other rows still has the button but it is just blank with no icon on it.
I have a resource:
<Image x:Key="Icon_TrashCan" x:Shared="false" Source="/Assets/UI/Icons/Icon_TrashCan.png"/>
That I use in a DataTemplate in a ListView. In windows wpf I use the x:Shared="false" keyword in order to get the icon on every row on the list. NoesisGUI don't seem to support that keyword so how am I supposed to use it? As it is the icon is only shown on one of the rows in the ListView the other rows still has the button but it is just blank with no icon on it.