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