New to Telerik UI for WPFStart a free 30-day trial

An inline-level document element which contains UIElement.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class InlineUIContainer : Inline

Inheritance: objectDocumentElementInlineInlineUIContainer

Inherited Members Inline.CopyFromPositionToEndOfInline(DocumentPosition, DocumentPosition)Inline.CopyFromStartOfInlineToEndPosition(DocumentPosition)Inline.CopyContentFrom(DocumentElement)Inline.FieldStartDocumentElement.GetStyleProperty(IStylePropertyDefinition)DocumentElement.GetStyleProperty(string)DocumentElement.EnumerateChildrenOfType<T>()DocumentElement.GetParentOfType<T>()DocumentElement.CreateLayoutBox()DocumentElement.CopyPropertiesFrom(DocumentElement)DocumentElement.CopyPropertiesFromStyle(StyleDefinition)DocumentElement.ExtractStyleFromProperties()DocumentElement.ExtractStyleFromLocalProperties()DocumentElement.InvalidateAssociatedBoxesArrange()DocumentElement.InvalidateAssociatedBoxesMeasure()DocumentElement.InvalidateAssociatedBoxesLayout()DocumentElement.GetAssociatedLayoutBoxes()DocumentElement.GetRootDocument()DocumentElement.CreateDeepCopy()DocumentElement.CreateShallowCopy()DocumentElement.GetPropertyValueSource(IStylePropertyDefinition)DocumentElement.ClearValue(IStylePropertyDefinition)DocumentElement.OnRemoved()DocumentElement.OnStyleChanging()DocumentElement.OnStyleChanged()DocumentElement.OnStylePropertyChanged(StylePropertyChangeEventArgs)DocumentElement.OnParentChanging()DocumentElement.OnParentChanged()DocumentElement.ChildIndexDocumentElement.HasStyleDocumentElement.StyleDocumentElement.StyleNameDocumentElement.TagDocumentElement.FirstLayoutBoxDocumentElement.IsFirstLayoutBoxInitializedDocumentElement.DocumentElementsDocumentElement.ParentDocumentElement.ChildrenDocumentElement.PreviousSiblingDocumentElement.NextSiblingDocumentElement.CursorDocumentElement.StyleChangingDocumentElement.StyleChangedDocumentElement.StylePropertyChangedDocumentElement.ParentChangingDocumentElement.ParentChangedDocumentElement.PropertyValueChanged...

Constructors

Initializes a new instance of the InlineUIContainer class, by creating shadow copy of another InlineUIContainer.

C#
public InlineUIContainer(InlineUIContainer originalInline)
Parameters:originalInlineInlineUIContainer

The InlineUIContainer to be cloned.

Initializes a new instance of the InlineUIContainer class.

C#
public InlineUIContainer(UIElement uiElement, Size size)
Parameters:uiElementUIElement

The UIElement which should be added to the InlineUIContainer.

sizeSize

The size of the InlineUIContainer.

Properties

Gets or sets the height.

C#
public double Height { get; set; }
Property Value:

The height.

Gets a value indicating whether this instance is copyable.

C#
public override bool IsCopyable { get; }
Property Value:

true if this instance is copyable; otherwise, false.

Overrides: Inline.IsCopyable

Size

Size

Gets the size.

C#
public Size Size { get; }
Property Value:

The size.

UiElement

UIElement

Gets or sets the UI element.

C#
public UIElement UiElement { get; set; }
Property Value:

The UI element.

Gets or sets the width.

C#
public double Width { get; set; }
Property Value:

The width.

Methods

Copies the content from another InlineUIContainer.

C#
protected override void CopyContentFromOverride(DocumentElement fromElement)
Parameters:fromElementDocumentElement

The InlineUIContainer to copy the content from.

Overrides: Inline.CopyContentFromOverride(DocumentElement)

Copies the properties from another document element to the current instance.

C#
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
Parameters:fromElementDocumentElement

The InlineUIContainer to copy the properties from.

Overrides: Inline.CopyPropertiesFromOverride(DocumentElement)

Override this method for custom implementation for copying UIElment. The default implementations uses the same instance of the UIElement.

C#
protected virtual void CopyUIElementFromOverride(InlineUIContainer fromUIContainer)
Parameters:fromUIContainerInlineUIContainer

The UI container whose UIElement should be copied.

Creates a LayoutBox for the element.

C#
public override LayoutBox CreateLayoutBox(DocumentStructureCollection documentCollection)
Parameters:documentCollectionDocumentStructureCollection

The document collection.

Returns:

LayoutBox

A UIElementLayoutBox object representing the layout box for this instance.

Overrides: DocumentElement.CreateLayoutBox(DocumentStructureCollection)

Creates a new instance of this element.

C#
protected override DocumentElement CreateNewElementInstance()
Returns:

DocumentElement

The new instance.

Overrides: DocumentElement.CreateNewElementInstance()