开发者

Can ListViewItem style property be reset from ListView

开发者 https://www.devze.com 2022-12-27 07:37 出处:网络
Can something like this be done through attributes or templates (pseudo xaml :)) <ListV开发者_开发问答iew ListViewItem.Style={x:Null}>

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

精彩评论

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

关注公众号