ListView Grid.Row =“3”x:Name =“lstDetail”HorizontalAlignment =“Center”ItemContainerStyle =“{StaticResource ListViewItemContainerStyle}”SelectionMode =“None”> - >
以上是XAML代码。我想获得前景色和 和id。 like = StackPanel cluster = sender as StackPanel; cluster_id = cluster.Tag.ToString();