forum

Home / DeveloperSection / Forums / Access to the path xaml

Access to the path xaml

Anonymous User 2362 23-Dec-2013

I have problem with access to the path in canvas, I want to be able to changing the 'fill' in my code(c#). 

These is my xaml code:

<Canvas Name="hour" Opacity="0.05" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Width="0" Height="0" >
    <Path Fill="Aquamarine">
        <Path.Data>
            <EllipseGeometry RadiusX="50" RadiusY="50"/>
        </Path.Data>
    </Path>
</Canvas>

Anyone has an idea, how to get it? Thanks for help!


wpf wpf 
Updated on 23-Dec-2013
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By