Skip to end of metadata
Go to start of metadata

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

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.

Definition

public class InlineUIContainer : Inline

Summary

The following table summarizes the members exposed in this class.

Public Constructors

InlineUIContainer Constructor()Initializes a new instance of the InlineUIContainer class.
InlineUIContainer Constructor(UIElement)Initializes a new instance of the InlineUIContainer class.

Public Properties

ChildGets or sets the top-level UIElement as the child of this element.

Fields

ChildPropertyIdentifies the Child dependency property.

Public Constructors

public InlineUIContainer()

Initializes a new instance of the InlineUIContainer class.

public InlineUIContainer(UIElement element)

Initializes a new instance of the InlineUIContainer class.

Parameters

element 

 

Public Properties

public UIElement Child { get; set; }

Gets or sets the top-level UIElement as the child of this element.

Fields

public static readonly DependencyProperty ChildProperty

Identifies the Child dependency property.

  • No labels