Table of Contents

Class InlineUIContainer

Namespace
Avalonia.Controls.Documents
Assembly
Avalonia.Controls.dll

InlineUIContainer - a wrapper for embedded UIElements in text flow content inline collections

public class InlineUIContainer : Inline, INotifyPropertyChanged, IDataContextProvider, ILogical, IThemeVariantHost, IResourceHost, IResourceNode, IStyleHost, ISetLogicalParent, ISetInheritanceParent, ISupportInitialize, IStyleable, INamed
Inheritance
InlineUIContainer
Implements
Inherited Members
Extension Methods

Constructors

InlineUIContainer()

Initializes a new instance of InlineUIContainer element.

public InlineUIContainer()

Remarks

The purpose of this element is to be a wrapper for UIElements when they are embedded into text flow - as items of InlineCollections.

InlineUIContainer(Control)

Initializes an InlineBox specifying its child UIElement

public InlineUIContainer(Control child)

Parameters

child Control

UIElement set as a child of this inline item

Fields

ChildProperty

Defines the Child property.

public static readonly StyledProperty<Control> ChildProperty

Field Value

StyledProperty<Control>

Properties

Child

The content spanned by this TextElement.

[Content]
public Control Child { get; set; }

Property Value

Control

Methods

OnPropertyChanged(AvaloniaPropertyChangedEventArgs)

Called when a avalonia property changes on the object.

protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs change)

Parameters

change AvaloniaPropertyChangedEventArgs

The property change details.