New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class BordersUILayer : IUILayer

Inheritance: objectBordersUILayer

Implements: IUILayer

Constructors

C#
public BordersUILayer()

Fields

container

Canvas

C#
public Canvas container

Properties

C#
protected UILayerUpdateContext CurrentUpdateContext { get; }

Gets or sets a value indicating whether the layer can be hit tested.

C#
public bool IsHitTestVisible { get; set; }
Property Value:

True if the layer is hit test visible; otherwise, false.

Implements: IUILayer.IsHitTestVisible

Gets or sets the name of the BordersUILayer.

C#
public virtual string Name { get; }
Property Value:

A string representing the name of the BordersUILayer.

Implements: IUILayer.Name

Represents a collection of border provider objects for the BordersUILayer.

C#
public virtual IEnumerable<LayoutBox> ProvidersEnumerable { get; }

Determines whether the borders of the UI layer should be clipped.

C#
public virtual bool ShouldClip { get; }

Implements: IUILayer.ShouldClip

Determines whether the BordersUILayer should update when it has not been invalidated.

C#
public virtual bool ShouldUpdateWhenNotInvalidated { get; }

Implements: IUILayer.ShouldUpdateWhenNotInvalidated

Represents the user interface registry for the Borders UI layer in the Telerik Windows documents framework.

C#
public UIProviderRegistry UIRegistry { get; }

Methods

Adds a child TableBorderUIElement to the BordersUILayer.

C#
public void AddChild(TableBorderUIElement uiElement)
Parameters:uiElementTableBorderUIElement

The TableBorderUIElement to be added.

Arranges the child elements within the BordersUILayer.

C#
public void ArrangeChildren()

Implements: IUILayer.ArrangeChildren()

Removes all child elements from the BordersUILayer.

C#
public void ClearChildren()

Implements: IUILayer.ClearChildren()

Remarks:

This method clears the current visual representation of borders, which can help in refreshing the layer or preparing it for new child elements.

Gets the user interface element associated with the borders layer.

C#
public UIElement GetLayerUIElement()
Returns:

UIElement

An instance of the UI element representing the borders layer.

Implements: IUILayer.GetLayerUIElement()

Removes a child TableBorderUIElement from the BordersUILayer.

C#
public void RemoveChild(TableBorderUIElement existingElement)
Parameters:existingElementTableBorderUIElement

The TableBorderUIElement to be removed from the layer.

C#
protected virtual void UpdateUI()

Updates the viewport for the borders UI layer based on the provided update context.

C#
public void UpdateViewPort(UILayerUpdateContext context)
Parameters:contextUILayerUpdateContext

The context containing information for updating the UI layer.

Implements: IUILayer.UpdateViewPort(UILayerUpdateContext)