WPF Image control clipping

后端 未结 2 2004
深忆病人
深忆病人 2020-12-21 06:25

I have an Image control inside a custom ContentControl that I use to apply some transforms (scaling and translating through the RenderTransform). The problem is that with im

2条回答
  •  离开以前
    2020-12-21 06:47

    I think I found a solution. Wrapping my image inside a canvas solved the issue, probably due to the way canvas size is computed.

提交回复
热议问题