小编Kri*_*ina的帖子

silverlight xaml c中仅有两个圆角的图像#

如何只用两个圆角在xaml中显示图像?

<Image x:Name="Image" Height="200" Width="250" Source="image.jpg" Stretch="Fill">
   <Image.Clip>
      <RectangleGeometry RadiusX="20" RadiusY="20" Rect="0,0,250,200"/>
   </Image.Clip>
</Image>
Run Code Online (Sandbox Code Playgroud)

我只想要两个底角.

谢谢

c# silverlight xaml border

5
推荐指数
1
解决办法
3115
查看次数

标签 统计

border ×1

c# ×1

silverlight ×1

xaml ×1