Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7162297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:42:42+00:00 2026-05-28T13:42:42+00:00

In my FlowDocument I would like to include a table filled with text and

  • 0

In my FlowDocument I would like to include a table filled with text and graph lines. Which approach would you recommend? I was thinking about attaching adorner to a table, but I could not accomplish attaching adorner over the whole table so far.

Here is sketch of something that I want to add to the document:

enter image description here

I’m using C# and .NET 4.0

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T13:42:43+00:00Added an answer on May 28, 2026 at 1:42 pm

    The problem is solved with Grid. Grid is very similair to Table, and it has no problem to contain a Canvas. Here you can see the sample image, and sample of getting the Grid with Canvas together into FlowDocument. You can create same flow document through code too:

    Table with multiple rows, columns and drawing in the cells.

    <FlowDocument PageWidth="600" MinPageWidth="600" PagePadding="0,0,0,0">
      <Section>
        <Paragraph>
          <Grid ShowGridLines="False" Background="#FFFFFFFF" Margin="0,5,0,0">
            <Grid.ColumnDefinitions>
              <ColumnDefinition Width="140"/>
              <ColumnDefinition Width="460"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
              <RowDefinition Height="20"/>
              <RowDefinition Height="20"/>
            </Grid.RowDefinitions>
            <Canvas Background="#FFFFFFFF" Name="Canvas0" Width="460" Height="40" Grid.Column="1" Grid.Row="1">
              <Rectangle Fill="#FFD3D3D3" Width="140" Height="40" Canvas.Left="160" Canvas.Top="0"/>
              <Rectangle Fill="#FFA9A9A9" Width="91" Height="40" Canvas.Left="188" Canvas.Top="0"/>
              <Ellipse Fill="#FF3E00C1" Width="7" Height="7" Canvas.Left="282.978417266187" Canvas.Top="6.5"/>
              <Ellipse Fill="#FF1D00E2" Width="7" Height="7" Canvas.Left="199.508" Canvas.Top="26.5"/>
              <Line X1="286.478417266187" Y1="10" X2="203.008" Y2="30" StrokeThickness="2">
                <Line.Stroke>
                  <LinearGradientBrush StartPoint="0,0" EndPoint="1,0">
                    <LinearGradientBrush.GradientStops>
                      <GradientStop Color="#FF1D00E2" Offset="0"/>
                      <GradientStop Color="#FF3E00C1" Offset="1"/>
                    </LinearGradientBrush.GradientStops>
                  </LinearGradientBrush>
                </Line.Stroke>
              </Line>
            </Canvas>
          </Grid>
        </Paragraph>
      </Section>
    </FlowDocument>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What would be the best approach to display footnotes for FlowDocument content in a
I am trying to create a flowdocument with a Table of data which I
I've got a FlowDocument which has some elements like so: <InlineUIContainer> <Button Click=Button_Click Tag=123456789890>
How would ya'll recommend that I convert a FlowDocument to PDF to be attached
I would like to get the word that a user has clicked on in
I would like to be able to remove the white spaces between various inline
I would like to know if someone have created a RDL report (running it
I have a FlowDocument table where I want to spice up the layout a
I have a flowdocument in WPF that looks like this: <FlowDocument xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml> <Paragraph
Imagine I've got a FlowDocument like so: <FlowDocument xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation ColumnWidth=400 FontSize=14 FontFamily=Georgia Name=document> <Paragraph

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.