本文介绍了具有角半径的边界的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我面临边界角半径的一个问题.我将角半径应用为11& borderthickness为1.
但是背景色在边框角处可见(即背景色和Borderbrush之间有一些空间)

I facing one issue with corner radius in border. I apply corner radius as 11 & borderthickness as 1.
But background colour is visible in border corner (i.e, some space is there between background colour & Borderbrush)

<Grid x:Name="LayoutRoot" Background="Black">
    <Border Width="93" Height="30" Background="#FFF7E8A0" BorderBrush="#FFF3EFEF" BorderThickness="1" CornerRadius="11" UseLayoutRounding="True" ScrollViewer.VerticalScrollBarVisibility="Hidden" ScrollViewer.HorizontalScrollBarVisibility="Hidden" SnapsToDevicePixels="True" ClipToBounds="True" />
</Grid>




请帮助我解决这个问题.

问候
Ranjith




Please help me on this issue.

Regards
Ranjith

推荐答案


这篇关于具有角半径的边界的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 06:17