Class
InlineUIContainer

An inline-level document element which contains UIElement.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
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

InlineUIContainer(InlineUIContainer)

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

Declaration

cs-api-definition
public InlineUIContainer(InlineUIContainer originalInline)

Parameters

originalInline

InlineUIContainer

The InlineUIContainer to be cloned.

InlineUIContainer(UIElement, Size)

Initializes a new instance of the InlineUIContainer class.

Declaration

cs-api-definition
public InlineUIContainer(UIElement uiElement, Size size)

Parameters

uiElement

UIElement

The UIElement which should be added to the InlineUIContainer.

size

Size

The size of the InlineUIContainer.

Properties

Height

Gets or sets the height.

Declaration

cs-api-definition
public double Height { get; set; }

Property Value

double

The height.

IsCopyable

Gets a value indicating whether this instance is copyable.

Declaration

cs-api-definition
public override bool IsCopyable { get; }

Property Value

bool

true if this instance is copyable; otherwise, false.

Overrides Inline.IsCopyable

Size

Gets the size.

Declaration

cs-api-definition
public Size Size { get; }

Property Value

Size

The size.

UiElement

Gets or sets the UI element.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "Ui")]
public UIElement UiElement { get; set; }

Property Value

UIElement

The UI element.

Width

Gets or sets the width.

Declaration

cs-api-definition
public double Width { get; set; }

Property Value

double

The width.

Methods

CopyContentFromOverride(DocumentElement)

Copies the content from another InlineUIContainer.

Declaration

cs-api-definition
protected override void CopyContentFromOverride(DocumentElement fromElement)

Parameters

fromElement

DocumentElement

The InlineUIContainer to copy the content from.

Overrides Inline.CopyContentFromOverride(DocumentElement)

CopyPropertiesFromOverride(DocumentElement)

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

Declaration

cs-api-definition
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)

Parameters

fromElement

DocumentElement

The InlineUIContainer to copy the properties from.

Overrides Inline.CopyPropertiesFromOverride(DocumentElement)

CopyUIElementFromOverride(InlineUIContainer)

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

Declaration

cs-api-definition
protected virtual void CopyUIElementFromOverride(InlineUIContainer fromUIContainer)

Parameters

fromUIContainer

InlineUIContainer

The UI container whose UIElement should be copied.

CreateLayoutBox(DocumentStructureCollection)

Creates a LayoutBox for the element.

Declaration

cs-api-definition
public override LayoutBox CreateLayoutBox(DocumentStructureCollection documentCollection)

Parameters

documentCollection

DocumentStructureCollection

The document collection.

Returns

LayoutBox

A UIElementLayoutBox object representing the layout box for this instance.

Overrides DocumentElement.CreateLayoutBox(DocumentStructureCollection)

CreateNewElementInstance()

Creates a new instance of this element.

Declaration

cs-api-definition
protected override DocumentElement CreateNewElementInstance()

Returns

DocumentElement

The new instance.

Overrides DocumentElement.CreateNewElementInstance()