Class CellBordersUILayerBase
Provides the base class from which the classes that represent cell borders UI layers are derived.
Inherited Members
Namespace: Telerik.Windows.Controls.Spreadsheet.Worksheets.Layers
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public abstract class CellBordersUILayerBase : WorksheetUILayerBase, INamedObject
Constructors
CellBordersUILayerBase(Boolean)
Initializes a new instance of the Cell
Declaration
protected CellBordersUILayerBase(bool shouldShowTopLeftMostBorders)
Parameters
System.
|
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
System. 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
System. The value indicating if the layer supports diagonal borders. |
Methods
GetElementVisibility(UIElement)
Gets the element visibility.
Declaration
protected override Visibility GetElementVisibility(UIElement element)
Parameters
System. The element. |
Returns
System. The visibility. |
Overrides
SetElementVisibility(UIElement, Visibility)
Sets the element visibility.
Declaration
protected override void SetElementVisibility(UIElement element, Visibility visibility)
Parameters
System. The element. |
System. The visibility. |
Overrides
ShouldShowBorder(CellBorder)
Computes if the given border have to be shown.
Declaration
protected abstract bool ShouldShowBorder(CellBorder border)
Parameters
Telerik. The border. |
Returns
System.
|
TranslateAndScale(UIUpdateContext)
Translates and scales the UI elements of the layer.
Declaration
protected override void TranslateAndScale(UIUpdateContext updateContext)
Parameters
UIUpdate The update context. |
Overrides
UpdateUIOverride(WorksheetUIUpdateContextBase)
Updates the UI.
Declaration
public override void UpdateUIOverride(WorksheetUIUpdateContextBase updateContext)
Parameters
Worksheet The update context. |