About the ports


#1

The port of the official sample is implemented by ListView. I would like to ask whether I can cancel the selection effect of ListView. Maybe I should rewrite the listview, but I don’t know what to do.


#2

The Dynamic Ports sample uses a custom ListBox, not a ListView. But the Entity Relationship sample uses a ListView.

You might be able to use a StackPanel. In any case, it’s all a matter of WPF styling that isn’t specific to GoXam.


#3

But my port is stored in a list, unable to correspond to StackPanel.


#4

So you need to use an ItemsControl. If you are using a Selector, maybe it’s sufficient to set IsEnabled to false.


#5

If I use ItemsControl it seems like there is no way to use DataTemplate.


#6

ItemsControl.ItemTemplate