Intersoft ClientUI Documentation
InlineUIContainer Class
Members  See Also  Send Feedback
Intersoft.Client.Documents Namespace : InlineUIContainer Class






An inline-level flow content element which enables UIElement elements (i.e. a Button) to be embedded (hosted) in flow content.

Object Model

InlineUIContainer Class

Syntax

Visual Basic (Declaration) 
<ContentPropertyAttribute("Child")>
Public Class InlineUIContainer 
   Inherits Inline
Visual Basic (Usage)Copy Code
Dim instance As InlineUIContainer
C# 
[ContentPropertyAttribute("Child")]
public class InlineUIContainer : Inline 
Delphi 
public class InlineUIContainer = class(Inline)
JScript 
ContentPropertyAttribute("Child")
public class InlineUIContainer extends Inline
Managed Extensions for C++ 
[ContentPropertyAttribute("Child")]
public __gc class InlineUIContainer : public Inline 
C++/CLI 
[ContentPropertyAttribute("Child")]
public ref class InlineUIContainer : public Inline 

Remarks

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.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      Intersoft.Client.Documents.TextElement
         Intersoft.Client.Documents.Inline
            Intersoft.Client.Documents.InlineUIContainer

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.