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 CellBordersUILayerBase class.
Declaration
protected CellBordersUILayerBase(bool shouldShowTopLeftMostBorders)
Parameters
System.Boolean
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
System.Boolean
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.Boolean
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.Windows.UIElement
element
The element. |
Returns
System.Windows.Visibility
The visibility. |
Overrides
SetElementVisibility(UIElement, Visibility)
Sets the element visibility.
Declaration
protected override void SetElementVisibility(UIElement element, Visibility visibility)
Parameters
System.Windows.UIElement
element
The element. |
System.Windows.Visibility
visibility
The visibility. |
Overrides
ShouldShowBorder(CellBorder)
Computes if the given border have to be shown.
Declaration
protected abstract bool ShouldShowBorder(CellBorder border)
Parameters
Telerik.Windows.Documents.Spreadsheet.Model.CellBorder
border
The border. |
Returns
System.Boolean
|
TranslateAndScale(UIUpdateContext)
Translates and scales the UI elements of the layer.
Declaration
protected override void TranslateAndScale(UIUpdateContext updateContext)
Parameters
UIUpdateContext
updateContext
The update context. |
Overrides
UpdateUIOverride(WorksheetUIUpdateContextBase)
Updates the UI.
Declaration
public override void UpdateUIOverride(WorksheetUIUpdateContextBase updateContext)
Parameters
WorksheetUIUpdateContextBase
updateContext
The update context. |