SnIpY
SnIpY

Reputation: 662

Can't find reference FlowDocument

I'm experimenting with a FlowDocument object but can't seem to get it work...

I keep getting the following error and have no clue what I should add.

Error 5 The type or namespace name 'FlowDocument' could not be found (are you missing a using directive or an assembly reference?)

Upvotes: 0

Views: 1877

Answers (1)

dthorpe
dthorpe

Reputation: 36082

Add a reference to PresentationFramework dll to your project.

Add using System.Windows.Documents to your source file.

Note that FlowDocument is not included in Silverlight.

Upvotes: 3

Related Questions