Intersoft.Client.Documents Namespace > InlineUIContainer Class : Child Property |
Public Property Child As UIElement
Dim instance As InlineUIContainer Dim value As UIElement instance.Child = value value = instance.Child
public UIElement Child {get; set;}
public: property UIElement^ Child { UIElement^ get(); void set ( UIElement^ value); }
InlineUIContainer enables UIElement elements (i.e. a control like Button or Image) to be embedded in an Inline content element. This element is the inline equivalent to BlockUIContainer described above.
InlineUIContainer element may host no more than one top-level UIElement. However, other UIElement elements maybe nested within the UIElement contained by the InlineUIContainer element.
XAML |
Copy Code
|
---|---|
<Intersoft:FlowDocument> <Intersoft:Paragraph> <Intersoft:InlineUIContainer> <Image Source="/TestFlowDoc2;component/Assets/Images/logo.png"/> </Intersoft:InlineUIContainer> </Intersoft:Paragraph> </Intersoft:FlowDocument> |
When FlowDocument is in page mode and the content inside InlineUIContainer is quite large, it will be shifted to the next page. If it still does not fit in the next page, the content will be clipped. However, if InlineUIContainer is the first element of FlowDocument and its content does not fit in the page, it will be clipped in the first page.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2