Class CellBordersUILayerBase
Provides the base class from which the classes that represent cell borders UI layers are derived.
Inherited Members
Namespace: Telerik.WinForms.Controls.Spreadsheet.Worksheets.Layers
Assembly: Telerik.WinControls.RadSpreadsheet.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 ElementVisibility GetElementVisibility(UIElement element)
Parameters
UIElement
element
The element. |
Returns
ElementVisibility
The visibility. |
Overrides
SetElementVisibility(UIElement, ElementVisibility)
Sets the element visibility.
Declaration
protected override void SetElementVisibility(UIElement element, ElementVisibility visibility)
Parameters
UIElement
element
The element. |
ElementVisibility
visibility
The visibility. |
Overrides
ShouldShowBorder(CellBorder)
Computes if the given border have to be shown.
Declaration
protected abstract bool ShouldShowBorder(CellBorder border)
Parameters
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. |