Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
The comment was terminated incorrectly
Collapse the table of content
Expand the table of content

The comment was terminated incorrectly

The comment was terminated incorrectly. Comments are terminated with the characters '-->', not '--!>'.

Commented text in XAML must begin with the character sequence "<!--" and end with the sequence "-->". It is a common error to define the end tag with "--!>".

Error ID: XAML0105

To correct this error

  • Ensure that the commented text begins with "<!--" and ends with "-->".

The following code example shows how to add comments to XAML code.

    <!-- This line is a valid XAML comment. -->
    <!-- 
This is a valid 
XAML comment block. 
-->

Concepts

Other Resources

Community Additions

ADD
Show:
© 2015 Microsoft