摘要:
废话不说看下面代码你就懂! <ListBoxItem Content="{Binding Path=StuID}" Style="{StaticResource Sty1}" /> <ListBoxItem Content="{Binding Path=StuName}" Style="{Binding Source={StaticResource Sty1}}" /><Style TargetType="ListBoxItem" x:Key="Sty1& 阅读全文