开发者

Can ListViewItem style property be reset from ListView

Can something like this be done through attributes or templates (pseudo xaml :))

<ListV开发者_开发问答iew ListViewItem.Style={x:Null}>
</ListView>

This question is not just about ListView, it's about all ItemsControl's classes, is there a way to set or reset style for item's from container.


<ListView ItemContainerStyle="{x:Null}"/>

Works for any ItemsControl:

<ListBox ItemContainerStyle="{StaticResource SomeStyle}"/>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜