Search code examples
wpfflowdocument

Show Flow Document Without Rules


I want to show a flow document without its defalut rules.

enter image description here

Is it possible?

Thanks.


Solution

  • Try this

        <FlowDocumentScrollViewer >
            <FlowDocument>
            </FlowDocument>
        </FlowDocumentScrollViewer>
    

    for more details visit

    http://msdn.microsoft.com/en-us/library/system.windows.controls.flowdocumentscrollviewer.aspx