Provides the base class from which the classes that represent cell borders UI layers are derived.
Definition
Namespace:Telerik.WinForms.Controls.Spreadsheet.Worksheets.Layers
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public abstract class CellBordersUILayerBase : WorksheetUILayerBase, INamedObject
Inheritance: objectUILayerPooledUILayerWorksheetUILayerBaseCellBordersUILayerBase
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the CellBordersUILayerBase class.
protected CellBordersUILayerBase(bool shouldShowTopLeftMostBorders)
Properties
Gets the value indicating if the UI element will be reused without removing from visual tree.
protected override bool ReuseUIElementsWithoutRemovingFromVisualTree { get; }
The value indicating if the UI element will be reused without removing from visual tree.
Overrides:
Gets the value indicating if the layer supports diagonal borders.
protected abstract bool SupportDiagonalBorders { get; }
The value indicating if the layer supports diagonal borders.
Methods
Gets the element visibility.
protected override ElementVisibility GetElementVisibility(UIElement element)
The element.
Returns:The visibility.
Overrides:
Sets the element visibility.
protected override void SetElementVisibility(UIElement element, ElementVisibility visibility)
The element.
visibilityElementVisibilityThe visibility.
Overrides:
Computes if the given border have to be shown.
protected abstract bool ShouldShowBorder(CellBorder border)
The border.
Returns:True if the border have to be shown.
Translates and scales the UI elements of the layer.
protected override void TranslateAndScale(UIUpdateContext updateContext)
The update context.
Overrides:
Updates the UI.
public override void UpdateUIOverride(WorksheetUIUpdateContextBase updateContext)
The update context.
Overrides: