Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在列表视图中有一个 listivew,我正在显示主详细信息类型的关系。
我可以将父 listviewitem 的行颜色应用于子 listviewitem 吗?
请回复..
谢谢
沙拉特
Found the solution
Background="{Binding Background, RelativeSource={RelativeSource FindAncestor, AncestorType=ListViewItem}}"
Thanks
Sharath