Results 1 to 4 of 4

Thread: Flowdocument Table with rounded corners

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2016
    Location
    Slovenia
    Posts
    575

    Flowdocument Table with rounded corners

    Hi,

    I'm wondering - as the title says - If It's possible to create a rounded corners in Flowdocument Table (type of ContentElement) ? And how ?

    Thanks for any help !

  2. #2

    Re: Flowdocument Table with rounded corners

    You don't need a custom control, just put your table in a border element.

    Code:
    <Border BorderBrush="#FF000000" BorderThickness="1" CornerRadius="8">
       <Grid></Grid>
    </Border>
    You can replace the <Grid/> with any of the layout.

  3. #3

    Re: Flowdocument Table with rounded corners

    You don't need a custom control, just put your table in a border element.

    Code:
    <Border BorderBrush="#FF000000" BorderThickness="1" CornerRadius="8">
       <Grid></Grid>
    </Border>
    You can replace the <Grid/> with any of the layout.

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2016
    Location
    Slovenia
    Posts
    575

    Re: Flowdocument Table with rounded corners

    That Is not possible with Table, you need to add border in BlockUIContainer, and UI element cannot hold ContentElement.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width