or
Hi
I need to change the background color of a cell based on its value while using AutoGenerateColumns="True
Without using code behind (attach property is acceptable solution)
The data context is System.Data.DataTable
Thanks in advance.
//Loop Through Document Sections
foreach
(Section sectionLayoutBox
in
radRichTextBox.Document.Children)
{
//Loop Through Section Paragraphs
foreach
(Paragraph paragraph
in
sectionLayoutBox.EnumerateChildrenOfType<Paragraph>().ToList<Paragraph>())
{
//Remove Paragraph From Document
//paragraph.Parent.Children.Remove(paragraph);
sectionLayoutBox.Children.Remove(paragraph);
}
}