What is Clipping in Silverlight?

Answer

Clipping is a modification to a given image / object based on the geometry type – like a line, rectangle, ellipse or even a group geometry objects. The clip property is defined in the UIElement class. An XAML code is used for an Image object for displaying a geometrical image. The following is the code snippet for setting the Ellipse properties.

<Image Source="Nature.jpg" Width="350" Height="350">
<Image.Clip>
<EllipseGeometry RadiusX="100" RadiusY="100" Center="200,150"/>
</Image.Clip>
</Image> 

All silverlight Questions

Ask your interview questions on silverlight

Write Your comment or Questions if you want the answers on silverlight from silverlight Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---