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.
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.
But my port is stored in a list, unable to correspond to StackPanel.
So you need to use an ItemsControl. If you are using a Selector, maybe it’s sufficient to set IsEnabled to false.
If I use ItemsControl it seems like there is no way to use DataTemplate.
ItemsControl.ItemTemplate