Java, .NET, PHP, PYTHON, ANGULAR, .NET, ML, Data Scince, Testing, CI Tutorials in Easy Languages.

"Best Software Training, Internship, Project Development center of Indore India, Helpline 780506-3968"

Canvas:-
 

It is used to create a Container for Graphics and animation in WPF.for application software and forms elements, the canvas will not be used.

it also provides multiple dimensions to arrange the element on a particular position on Window.

Canvas uses Canvas.left,Canvas.Right,Canvas.Bottom and Canvas.Top property to arrange elements.



<Canvas>

        <Ellipse Width="100" Height="100" Fill="Aqua" Canvas.Left="100" Canvas.Top="120"></Ellipse>
        <Rectangle Width="100" Height="100" Fill="Yellow" Canvas.Left="250" Canvas.Top="120"></Rectangle>
    </Canvas>





Post a Comment

If you have any doubt in programming or join online classes then you can contact us by comment .

Previous Post Next Post