(X) Hide this
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .

Commenting out properties in XAML

(0 votes)
1 comments   /   posted by Silverlight Show on Feb 02, 2010
Tags:   Tips , XAML
Laurent Bugnion has posted a quick tip about commenting out properties in XAML.

Often when you write XAML, you wish you could ignore a property temporarily. In code, it is easy to do: Just comment out the line where the property is set, and you are good to compile.

In XAML it is not so easy, because XML (of which XAML is a dialect) does not have line comments, but only block comments. You can comment out a whole XAML element, but not just one property.


  • consy

    Re: Commenting out properties in XAML

    posted by consy on Apr 30, 2015 10:29
    These Motorola mobile phones have a big list of exclusive features which is very well preferred by the customers.
    price range

Add Comment

Login to comment:
  *      *       

Our News on Twitter