You can add comment in XAML using the following format
<!– Your Comment –>
How to Add Comment in XAML and Silverlight?
Sample code snippet demonstrating the inclusion of the comments in XAML page.
<!--This Section is a Grid Layout--> <Grid x:Name="LayoutRoot" Background="White"> <Canvas x:Name="ACCanvas" xmlns="http://schemas.microsoft.com/client/2007" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Background="Green" Width="400" Height="300" > <Ellipse x:Name="ACEllipse" Fill="Red" Stroke="Pink" Width="200" Height="200"/> </Canvas> </Grid>
Leave a Reply