Class InlineUIContainer
An inline-level document element which contains UIElement.
Inherited Members
Namespace: Telerik.WinForms.Documents.Model
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class InlineUIContainer : Inline, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
Constructors
InlineUIContainer()
This constructor supports XAML serialization infrastructure and is not intended to be used directly from your code.
Declaration
public InlineUIContainer()
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. |
InlineUIContainer(InlineUIContainer)
Initializes a new instance of the InlineUIContainer class, by creating shadow copy of another InlineUIContainer.
Declaration
public InlineUIContainer(InlineUIContainer originalInline)
Parameters
|
InlineUIContainer
originalInline
The InlineUIContainer to be cloned. |
Properties
Height
Gets or sets the height.
Declaration
public double Height { get; set; }
Property Value
|
System.Double
The height. |
IsCopyable
Gets a value indicating whether this instance is copyable.
Declaration
public override bool IsCopyable { get; }
Property Value
|
System.Boolean
|
Overrides
Size
UiElement
Gets or sets the UI element.
Declaration
public UIElement UiElement { get; set; }
Property Value
|
UIElement
The UI element. |
Width
Gets or sets the width.
Declaration
public double Width { get; set; }
Property Value
|
System.Double
The width. |
Methods
CopyContentFromOverride(DocumentElement)
Copies the content from another InlineUIContainer.
Declaration
protected override void CopyContentFromOverride(DocumentElement fromElement)
Parameters
|
DocumentElement
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
|
DocumentElement
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
|
InlineUIContainer
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
|
DocumentStructureCollection
documentCollection
The document collection. |
Returns
|
LayoutBox
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
|
DocumentElement
The new instance. |