'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 FlowDocumt I have already created via XAML. I want the new grid to show below another Grid I already have in the FlowDocument.

Dim myItemsGrid As Windows.Controls.Grid = New Windows.Controls.Grid


Solution 1:[1]

Apparently, there is no way.

The way to go is to use Tables, as this are more compatible with FlowDocuments any way. The flow document pagination does not truncate grid content as it should, tables however work nicely.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Nandostyle