BordersUILayer
Creates and updates border visuals for visible tables and table cells.
Definition
Namespace:Telerik.WinForms.Documents.UI.Layers
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class BordersUILayer : IUILayer
Inheritance: objectBordersUILayer
Implements:
Constructors
Initializes a transparent border layer with hit testing disabled.
public BordersUILayer()
Fields
Properties
Gets the context supplied by the most recent viewport update.
protected UILayerUpdateContext CurrentUpdateContext { get; }
Gets or sets whether table-border visuals participate in hit testing.
public bool IsHitTestVisible { get; set; }
Implements:
Gets the identifier used to register the table-borders layer.
public virtual string Name { get; }
Implements:
ProvidersEnumerable
IEnumerable<LayoutBox>
Gets the visible table and table-cell layout boxes for the current viewport.
public virtual IEnumerable<LayoutBox> ProvidersEnumerable { get; }
Gets whether the presenter clips this layer to the displayed section's bounds.
public virtual bool ShouldClip { get; }
Implements:
Gets whether this layer updates for viewport changes when it is not invalidated; the layer returns false.
public virtual bool ShouldUpdateWhenNotInvalidated { get; }
Implements:
Gets the registry used to reuse table-border providers.
public UIProviderRegistry UIRegistry { get; }
Methods
Adds a border visual, first removing it from another BordersUILayer when necessary.
public void AddChild(TableBorderUIElement uiElement)
The border visual to add.
Updates each border visual's position from the current view offset.
public void ArrangeChildren()
Implements:
Releases all border visuals and providers, then clears the layer's tracking state.
public void ClearChildren()
Implements:
Gets the canvas that represents this layer in the presenter.
Removes a border visual from this layer's canvas without releasing its provider.
public void RemoveChild(TableBorderUIElement existingElement)
The border visual to remove.
Removes stale border visuals and creates or associates visuals for the currently visible table boxes.
protected virtual void UpdateUI()
Stores the update context and provider registry, then synchronizes border visuals for a finite viewport.
public void UpdateViewPort(UILayerUpdateContext context)
The current layer-update context.
Implements: