This question is locked. New answers and comments are not allowed.
I load a XAML document into a richtextbox control.
And would like to be able to manipulate some of the information in it at run time.
I have given some of the span tags names like this:
As you can see inside a tenable row i have a span for some text with a name.
Now i would like to be able to change the text at run time.
How can i find this specific span inside my document?
I envisaged something to this effect
The FindSpanByName, of course, does not exists as a method of RadDocument.
How would you go about locating the elements so it can be changed in code behind?
And would like to be able to manipulate some of the information in it at run time.
I have given some of the span tags names like this:
<
telerik:TableRow
>
<
telerik:TableCell
ColumnSpan
=
"2"
>
<
telerik:Paragraph
>
<
telerik:Span
x:Name
=
"uxClientName"
Text
=
"Client Name"
/>
</
telerik:Paragraph
>
</
telerik:TableCell
>
</
telerik:TableRow
>
Now i would like to be able to change the text at run time.
How can i find this specific span inside my document?
I envisaged something to this effect
Span uxClientName = radRichTextBox.Document.FindSpanByName(
""
);
How would you go about locating the elements so it can be changed in code behind?