WPF - Blend - Expression arc control rounded corner

LudoTxx 116 Reputation points
2021-11-03T15:34:13.19+00:00

hello,

Did you have any idea how I can round the start and the end or my arc (from expression shapes) ?

What I have try :

        <ed:Arc Name="arc_Progress" Margin="1" Fill="Green" StartAngle="-90" EndAngle="{Binding ElementName=root, Path=ArcAngle}" ArcThicknessUnit="Pixel" ArcThickness="35" RenderTransformOrigin="0.5,0.5" Stretch="None" Grid.ColumnSpan="3" Grid.RowSpan="4">  
            <ed:Arc.Resources>  
                <Style TargetType="{x:Type Border}">  
                    <Setter Property="CornerRadius" Value="10"/>  
                </Style>  
            </ed:Arc.Resources>  
        </ed:Arc>  

What I have :

146272-screenshot-2021-11-03-163041.jpg

What I try to do :
146265-screenshot-2021-11-03-163227.jpg

Thanks for your help.

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,784 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,010 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
814 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.