Hosts the visual element supplied by a document UI-element layout box without taking ownership of that element.
Definition
Namespace:Telerik.WinForms.Documents.UI.UIProviders
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class UIContainerUIProvider : IUIProvider
Inheritance: objectUIContainerUIProvider
Implements:
Constructors
Initializes a provider for the specified UI-element layout box.
public UIContainerUIProvider(UIElementLayoutBox elementBox)
The layout box whose element should be hosted.
Properties
Gets the layout box bounds used by the layer's viewport-visibility check.
public RectangleF BoundingRectangle { get; }
Implements:
Gets or sets the layer to which the hosted element is attached.
public IUILayer ContainingLayer { get; set; }
Implements:
Gets whether the provider is invalidated; this implementation always returns false.
public bool IsInvalidated { get; }
Implements:
Gets whether the document layout box has been removed.
public bool IsRemoved { get; }
Implements:
Gets the element supplied by UIElementBox.
public UIElement UIElement { get; }
Gets the layout box that supplies the hosted visual element.
public UIElementLayoutBox UIElementBox { get; }
Methods
Positions the hosted element using its layout-box bounds and the view offset.
public void Arrange(UILayerUpdateContext uILayerUpdateContext)
The current layer context.
Implements:
Gets the element supplied by the layout box for insertion into the layer.
public IEnumerable<UIElement> GetUIElements(UILayerUpdateContext context)
The current layer context.
Returns:IEnumerable<UIElement>
The hosted element.
Implements:
Does nothing because the layout box, rather than this provider, owns the hosted element.
public void ReleaseElements()
Implements:
Does nothing because the hosted element's content is managed by its layout box.
public void UpdateUI(UILayerUpdateContext uILayerUpdateContext)
The current layer context.
Implements: