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