WPF Adorner Clipping

后端 未结 3 2066
一整个雨季
一整个雨季 2021-02-20 15:56

I have an ItemsControl in a ScrollViewer. The items in the ItemsControl are expanded to a DataTemplate which basically consis

3条回答
  •  耶瑟儿~
    2021-02-20 16:33

    Setting ClipToBounds on the containing control is not enough. You must set the adorner's IsClipEnabled property too.

提交回复
热议问题