2015-01-30 5 views
0

내가XamlReader.Parse 예외

'Cannot create unknown type '{http://schemas.microsoft.com/winfx/2006/xaml/presentation}UnderLine'.' Line number '3' and line position '13'. 

문자열이 예외를 얻었다 XAML 문자열

(FlowDocument)(System.Windows.Markup.XamlReader.Parse(string)); 

을 구문 분석에 문제가있는 것은 밑줄 작품을 제외하고 다른 사람이

<FlowDocument xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"><Paragraph><Bold>text</Bold></Paragraph> 
<Paragraph><Italic>text</Italic></Paragraph> 
<Paragraph><UnderLine>text</UnderLine></Paragraph> 
... 
</FlowDocument> 

모든 것 같습니다. 문제가 어디 있는지 아는 사람이 있습니까?

답변

1

수정 사항은 UnderLine ->Underline입니다.

+0

Omg, 불가능한 오류. 고맙습니다. – Aldos

+0

신선한 눈, 응? :) – kennyzx