Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
30
RTF display/edit in XamDataGrid
posted

How can I display (and edit) an RTF text within a XamDataGrid? I have a collection bound to the grid. The item looks more or less as follows.

public class GridItem
{
    public string RtfText {get; set; }
}

I would like to bind the property RtfText to a column/cell and would like to see the formatted RTF text.

RtfText: {\rtf1 \b Bold \b0 Text }
Cell: Bold Text

When the cell is being edited by the user, it should directly fill the RtfText property of my collection item.

  • 520
    Verified Answer
    Offline posted

    Hello,

    I believe this thread is a duplicate of this one.

    Should that not be the case, please let me know.

    Sincerely,
    Tihomir Tonev
    Associate Software Developer
    Infragistics