Class
CellBordersUILayerBase

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:

cs-api-definition
public abstract class CellBordersUILayerBase : WorksheetUILayerBase, INamedObject

Inheritance: objectUILayerPooledUILayerWorksheetUILayerBaseCellBordersUILayerBase

Derived Classes: CellBordersUILayerGridlinesUILayer

Implements: INamedObject

Inherited Members WorksheetUILayerBase.UpdateUIOverride(UIUpdateContext)WorksheetUILayerBase.OnOwnerChanged(IUILayerOwner, IUILayerOwner)WorksheetUILayerBase.Initialize(IRadWorksheetEditorPresenter)WorksheetUILayerBase.OnSelectionChanged()WorksheetUILayerBase.OnOwnerChanged(RadWorksheetEditor, RadWorksheetEditor)WorksheetUILayerBase.DetachFromEditorDependentEvents(RadSheetEditorBase)WorksheetUILayerBase.AttachToEditorDependentEvents(RadSheetEditorBase)WorksheetUILayerBase.TranslateAndScale(Point, ViewportPaneType, WorksheetUIUpdateContextBase)WorksheetUILayerBase.Scale(Size, WorksheetUIUpdateContextBase)WorksheetUILayerBase.Scale(Point, WorksheetUIUpdateContextBase)WorksheetUILayerBase.Scale(double, WorksheetUIUpdateContextBase)WorksheetUILayerBase.UpdateOnSelectionChangedWorksheetUILayerBase.OwnerWorksheetUILayerBase.WorksheetPooledUILayer.OnUIUpdated()PooledUILayer.ResetPooledElementProperties(object)PooledUILayer.CanRecycle(object)PooledUILayer.AddElementToPool(object)PooledUILayer.GetElementFromPool<T>(ViewportPaneType)PooledUILayer.GetElementFromPool<T>()PooledUILayer.Clear()UILayer.UpdateUI()UILayer.UpdateUI(UIUpdateContext)UILayer.Translate(Point, ViewportPaneType, UIUpdateContext)UILayer.Translate(Rect, ViewportPaneType, UIUpdateContext)UILayer.IsElementVisible(UIElement)UILayer.GetAddedUIElements(ViewportPaneType)UILayer.UIUpdateContextCacheUILayer.ContainerManagerUILayer.Name

Constructors

CellBordersUILayerBase(bool)

Initializes a new instance of the CellBordersUILayerBase class.

Declaration

cs-api-definition
protected CellBordersUILayerBase(bool shouldShowTopLeftMostBorders)

Parameters

shouldShowTopLeftMostBorders

bool

Properties

ReuseUIElementsWithoutRemovingFromVisualTree

Gets the value indicating if the UI element will be reused without removing from visual tree.

Declaration

cs-api-definition
protected override bool ReuseUIElementsWithoutRemovingFromVisualTree { get; }

Property Value

bool

The value indicating if the UI element will be reused without removing from visual tree.

Overrides PooledUILayer.ReuseUIElementsWithoutRemovingFromVisualTree

SupportDiagonalBorders

Gets the value indicating if the layer supports diagonal borders.

Declaration

cs-api-definition
protected abstract bool SupportDiagonalBorders { get; }

Property Value

bool

The value indicating if the layer supports diagonal borders.

Methods

GetElementVisibility(UIElement)

Gets the element visibility.

Declaration

cs-api-definition
protected override Visibility GetElementVisibility(UIElement element)

Parameters

element

UIElement

The element.

Returns

Visibility

The visibility.

Overrides UILayer.GetElementVisibility(UIElement)

SetElementVisibility(UIElement, Visibility)

Sets the element visibility.

Declaration

cs-api-definition
protected override void SetElementVisibility(UIElement element, Visibility visibility)

Parameters

element

UIElement

The element.

visibility

Visibility

The visibility.

Overrides UILayer.SetElementVisibility(UIElement, Visibility)

ShouldShowBorder(CellBorder)

Computes if the given border have to be shown.

Declaration

cs-api-definition
protected abstract bool ShouldShowBorder(CellBorder border)

Parameters

border

CellBorder

The border.

Returns

bool

True if the border have to be shown.

TranslateAndScale(UIUpdateContext)

Translates and scales the UI elements of the layer.

Declaration

cs-api-definition
protected override void TranslateAndScale(UIUpdateContext updateContext)

Parameters

updateContext

UIUpdateContext

The update context.

Overrides UILayer.TranslateAndScale(UIUpdateContext)

UpdateUIOverride(WorksheetUIUpdateContextBase)

Updates the UI.

Declaration

cs-api-definition
public override void UpdateUIOverride(WorksheetUIUpdateContextBase updateContext)

Parameters

updateContext

WorksheetUIUpdateContextBase

The update context.

Overrides WorksheetUILayerBase.UpdateUIOverride(WorksheetUIUpdateContextBase)