Questions tagged [flowdocumentreader]

Questions regarding .NET FlowDocumentReader Class

FlowDocumentReader Class is part of .NET Framework's System.Windows.Controls

Provides a control for viewing flow content, with built-in support for multiple viewing modes.

Docs: https://msdn.microsoft.com/en-us/library/system.windows.controls.flowdocumentreader%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396

46 questions
1
vote
1 answer

Can we programmatically create FlowDocumentReader from the content of RichTexBox?

Question: How can we create a FlowDocumentReader from the content of a RichTextBox? I know we cannot assign the same logical child of a control to another control; nor can we assign null to the Document property of a RichTextBox. Hence the following…
nam
  • 21,967
  • 37
  • 158
  • 332
1
vote
2 answers

How can I keep XamlReader.Load(xamlFile) from inserting extra Run elements?

Imagine I've got a FlowDocument like so:
itsmatt
  • 31,265
  • 10
  • 100
  • 164
1
vote
1 answer

How can I go specific page on FlowDocumentReader?

How can I go specific page on FlowDocumentReader? Of course, i'm using pages mode on FlowDocumentReader. I heard that FlowDocumentPageViewer has GoToPage( ) method. so it is easier to use FlowDocumentPageViewer instead of…
KONE Seion
  • 51
  • 1
  • 7
1
vote
1 answer

Table inside FlowDocument truncates right-most columns, why?

I have a Table with 4 columns inside a FlowDocument. I've set the width of the columns but when viewed in FlowDocumentReader, when in Page Mode or 2 Page Mode, the right most column is truncated.
mcohen75
  • 690
  • 1
  • 8
  • 16
1
vote
1 answer

FlowDocumentReader.Print Method default FileName when printing to PDF

How can I set the default FileName when printing a FlowDocumentReader.Print() to PDF? Not a hard coded name - with each Print I want to set a default FileName. And they are not printing to PDF every time - user may select PDF as the printer. …
paparazzo
  • 44,497
  • 23
  • 105
  • 176
1
vote
0 answers

Visible Blocks in Flow Document Reader

I currently have a FlowDocumentReader placed and am trying to determine how to tell what blocks are visible. Specifically I have a document outline on the side of the screen and I am trying to highlight to sections which are on screen. I have tried…
jgCallahan
  • 33
  • 1
  • 4
1
vote
1 answer

Showing html text in FlowDocumentReader

I have a FlowDocumentReader control in my application. And here's how I set the text to the FlowDocumentReader: Paragraph paragraph = new…
petko_stankoski
  • 10,459
  • 41
  • 127
  • 231
1
vote
2 answers

WPF FlowDocumentReader and FlowDocument Screen Reader (NVDA) Acccessibility

I am using a FlowDocumentReader to display FlowDocuments in a .NET 3.5 WPF application (the FlowDocuments have help/info/notes that are displayed based on user choices in the UI). I assumed that the FlowDocumentReader contents would be…
1
vote
1 answer

Wpf FlowDocumentReader column property

Have one problem with FlowDocumentReader. When the "one page view" selected it looks something like that. But i want to have only one column, can anyone advise me a solution?
zWeRz
  • 81
  • 10
1
vote
1 answer

WPF Book-like application

I would like to develop a WPF application which behaves like a book. There would be two pages and the user would be able to edit it. I cannot use a FlowDocumentReader since it is not user-editable. I have also thought about using a moving…
Peekyou
  • 471
  • 1
  • 5
  • 21
0
votes
1 answer

How to bind a resource to a flowdocumentreader from a treeview with only XAML?

This time I am working on a help-window mini-application (to include in the other project, the imageediting application). I have a grid with two columns and a gridsplitter inbetween. On the left I have a treeview with several nodes (set in XAML)…
Iris Classon
  • 5,752
  • 3
  • 33
  • 52
0
votes
1 answer

How can i attach ListView to WPF FlowDocumentReader?

I've a listview and i need to attach this listview table into FlowDocumentReader, can any one help me how can i do this one. Thanks, @nagaraju.
nag
  • 920
  • 6
  • 27
  • 51
0
votes
1 answer

Positioning a Windows.Controls.Grid in a WPF FlowDocument

How can I specify (programmatically) the position of a new grid (created programmatically, see below) within a FlowDocument I have already created via XAML. I want the new grid to show below another Grid I already have in the FlowDocument. Dim…
Nandostyle
  • 344
  • 2
  • 12
0
votes
1 answer

How to change the foreground/background color of the find text box in a FlowDocument?

I am using a FlowDocumentReader to view some text, when I try typing in the find text searchbox the foreground is white and so is the background. How can I modify either the foreground or background? I tried modifying the Background and Foreground…
user16052640
0
votes
1 answer

Referencing a FlowDOcument.xaml into the WPF XAML and change reference documents via ComboBox

I have a ViewModel-First MVVM WPF Project. I want to load a different FlowDocument.xaml file depending on which option in a ComboBox has been selected. This is what I have tried so far: In my XAML View I have added the…
Richard
  • 439
  • 3
  • 25