I have a string with a xaml code inside and I want to know how can I bind this content to a control like TextBlock or Label or other.
My string value is like this :
<FlowDocument xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:markdig="clr-namespace:Markdig.Wpf;assembly=Markdig.Wpf" Style="{StaticResource {x:Static markdig:Styles.DocumentStyleKey}}"> <Paragraph Style="{StaticResource {x:Static markdig:Styles.Heading1StyleKey}}"> <Run Text="Changelog" /> </Paragraph> <Paragraph> <Run Text="All notable changes to this project will be documented in this file." /> </Paragraph> The program is returning exactly what I show you.
I hope some one can help me. Perhaps I just don't know how to explain my problem on google