InlineUIContainer
An inline-level document element which contains UIElement.
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class InlineUIContainer : Inline, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
Inheritance: objectDisposableObjectRadObjectDocumentElementInlineInlineUIContainer...
Implements:
Inherited Members
Constructors
Initializes a new instance of the InlineUIContainer class, by creating shadow copy of another InlineUIContainer.
public InlineUIContainer(InlineUIContainer originalInline)
The InlineUIContainer to be cloned.
Initializes a new instance of the InlineUIContainer class.
public InlineUIContainer(UIElement uiElement, Size size)
The UIElement which should be added to the InlineUIContainer.
sizeSizeThe size of the InlineUIContainer.
Properties
Gets or sets the height.
public double Height { get; set; }
The height.
Gets a value indicating whether this instance is copyable.
public override bool IsCopyable { get; }
true if this instance is copyable; otherwise, false.
Overrides:
Gets or sets the UI element.
public UIElement UiElement { get; set; }
The UI element.
Methods
Copies the content from another InlineUIContainer.
protected override void CopyContentFromOverride(DocumentElement fromElement)
The InlineUIContainer to copy the content from.
Overrides:
Copies the properties from another document element to the current instance.
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
The InlineUIContainer to copy the properties from.
Overrides:
Override this method for custom implementation for copying UIElment. The default implementations uses the same instance of the UIElement.
protected virtual void CopyUIElementFromOverride(InlineUIContainer fromUIContainer)
The UI container whose UIElement should be copied.
Creates a LayoutBox for the element.
public override LayoutBox CreateLayoutBox(DocumentStructureCollection documentCollection)
The document collection.
Returns:A UIElementLayoutBox object representing the layout box for this instance.
Overrides:
Creates a new instance of this element.
protected override DocumentElement CreateNewElementInstance()
The new instance.
Overrides: