ClassInlineUIContainer
An inline-level document element which contains UIElement.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class InlineUIContainer : Inline
Inheritance: objectDocumentElementInlineInlineUIContainer
Inherited Members
Constructors
InlineUIContainer(InlineUIContainer)
Initializes a new instance of the InlineUIContainer class, by creating shadow copy of another InlineUIContainer.
Declaration
public InlineUIContainer(InlineUIContainer originalInline)
Parameters
originalInline
The InlineUIContainer to be cloned.
InlineUIContainer(UIElement, Size)
Initializes a new instance of the InlineUIContainer class.
Declaration
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.
IsCopyable
Gets a value indicating whether this instance is copyable.
Declaration
public override bool IsCopyable { get; }
Property Value
true if this instance is copyable; otherwise, false.
Overrides
Size
Gets the size.
Declaration
public Size Size { get; }
Property Value
Size
The size.
UiElement
Gets or sets the UI element.
Declaration
[SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "Ui")]
public UIElement UiElement { get; set; }
Property Value
UIElement
The UI element.
Methods
CopyContentFromOverride(DocumentElement)
Copies the content from another InlineUIContainer.
Declaration
protected override void CopyContentFromOverride(DocumentElement fromElement)
Parameters
fromElement
The InlineUIContainer to copy the content from.
Overrides
CopyPropertiesFromOverride(DocumentElement)
Copies the properties from another document element to the current instance.
Declaration
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
Parameters
fromElement
The InlineUIContainer to copy the properties from.
Overrides
CopyUIElementFromOverride(InlineUIContainer)
Override this method for custom implementation for copying UIElment. The default implementations uses the same instance of the UIElement.
Declaration
protected virtual void CopyUIElementFromOverride(InlineUIContainer fromUIContainer)
Parameters
fromUIContainer
The UI container whose UIElement should be copied.
CreateLayoutBox(DocumentStructureCollection)
Creates a LayoutBox for the element.
Declaration
public override LayoutBox CreateLayoutBox(DocumentStructureCollection documentCollection)
Parameters
documentCollection
The document collection.
Returns
A UIElementLayoutBox object representing the layout box for this instance.
Overrides
CreateNewElementInstance()
Creates a new instance of this element.
Declaration
protected override DocumentElement CreateNewElementInstance()
Returns
The new instance.
Overrides