BordersUILayer
Represents a layer used for handling and rendering borders in the UI.
Definition
Namespace:Telerik.Windows.Documents.UI.Layers
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class BordersUILayer : IUILayer
Inheritance: objectBordersUILayer
Implements:
Constructors
public BordersUILayer()
Fields
container
Canvas
public Canvas container
Properties
protected UILayerUpdateContext CurrentUpdateContext { get; }
Gets or sets a value indicating whether the layer can be hit tested.
public bool IsHitTestVisible { get; set; }
True if the layer is hit test visible; otherwise, false.
Implements:
Gets or sets the name of the BordersUILayer.
public virtual string Name { get; }
A string representing the name of the BordersUILayer.
Implements:
Represents a collection of border provider objects for the BordersUILayer.
public virtual IEnumerable<LayoutBox> ProvidersEnumerable { get; }
Determines whether the borders of the UI layer should be clipped.
public virtual bool ShouldClip { get; }
Implements:
Determines whether the BordersUILayer should update when it has not been invalidated.
public virtual bool ShouldUpdateWhenNotInvalidated { get; }
Implements:
Represents the user interface registry for the Borders UI layer in the Telerik Windows documents framework.
public UIProviderRegistry UIRegistry { get; }
Methods
Adds a child TableBorderUIElement to the BordersUILayer.
public void AddChild(TableBorderUIElement uiElement)
The TableBorderUIElement to be added.
Arranges the child elements within the BordersUILayer.
public void ArrangeChildren()
Implements:
Removes all child elements from the BordersUILayer.
public void ClearChildren()
Implements:
This method clears the current visual representation of borders, which can help in refreshing the layer or preparing it for new child elements.
GetLayerUIElement()
UIElement
Gets the user interface element associated with the borders layer.
public UIElement GetLayerUIElement()
UIElement
An instance of the UI element representing the borders layer.
Implements:
Removes a child TableBorderUIElement from the BordersUILayer.
public void RemoveChild(TableBorderUIElement existingElement)
The TableBorderUIElement to be removed from the layer.
protected virtual void UpdateUI()
Updates the viewport for the borders UI layer based on the provided update context.
public void UpdateViewPort(UILayerUpdateContext context)
The context containing information for updating the UI layer.
Implements: