Class
CellValuesUILayer

Represents the cell values UI layer.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Worksheets.Layers

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class CellValuesUILayer : CellBasedUILayer, INamedObject

Inheritance: objectUILayerPooledUILayerWorksheetUILayerBaseBoxBasedUILayer<CellLayoutBox>CellBasedUILayerCellValuesUILayer

Implements: INamedObject

Inherited Members CellBasedUILayer.GetVisibleBoxes(ViewportPaneType, WorksheetUIUpdateContextBase)BoxBasedUILayer<CellLayoutBox>.GetAssociatedBoxForUIElement(ViewportPaneType, UIElement)BoxBasedUILayer<CellLayoutBox>.GetAssociatedUIElementForBox(ViewportPaneType, CellLayoutBox)BoxBasedUILayer<CellLayoutBox>.TranslateAndScale(UIUpdateContext)BoxBasedUILayer<CellLayoutBox>.GetAddedUIElements(ViewportPaneType)BoxBasedUILayer<CellLayoutBox>.Clear()WorksheetUILayerBase.UpdateUIOverride(UIUpdateContext)WorksheetUILayerBase.OnOwnerChanged(IUILayerOwner, IUILayerOwner)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>()UILayer.UpdateUI()UILayer.UpdateUI(UIUpdateContext)UILayer.Translate(Point, ViewportPaneType, UIUpdateContext)UILayer.Translate(Rect, ViewportPaneType, UIUpdateContext)UILayer.IsElementVisible(UIElement)UILayer.UIUpdateContextCacheUILayer.ContainerManager

Constructors

CellValuesUILayer()

Initializes a new instance of the CellValuesUILayer class.

Declaration

cs-api-definition
public CellValuesUILayer()

Properties

Name

Gets the name of the layer.

Declaration

cs-api-definition
public override string Name { get; }

Property Value

string

The name of the layer.

Overrides UILayer.Name

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

Methods

CreateUIElementForBox(ViewportPaneType, CellLayoutBox, WorksheetUIUpdateContextBase)

Creates the UI element for box.

Declaration

cs-api-definition
protected override UIElement CreateUIElementForBox(ViewportPaneType viewportPaneType, CellLayoutBox box, WorksheetUIUpdateContextBase updateContext)

Parameters

viewportPaneType

ViewportPaneType

Type of the viewport pane.

box

CellLayoutBox

The desired box.

updateContext

WorksheetUIUpdateContextBase

The update context.

Returns

UIElement

The created UI element.

Overrides BoxBasedUILayer<CellLayoutBox>.CreateUIElementForBox(ViewportPaneType, CellLayoutBox, WorksheetUIUpdateContextBase)

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)

Initialize(IRadWorksheetEditorPresenter)

Initializes the layer.

Declaration

cs-api-definition
public override void Initialize(IRadWorksheetEditorPresenter presenter)

Parameters

presenter

IRadWorksheetEditorPresenter

The presenter.

Overrides WorksheetUILayerBase.Initialize(IRadWorksheetEditorPresenter)

IsUIElementValidOverride(CellLayoutBox, WorksheetUIUpdateContextBase)

Determines whether the specified UI element box is valid.

Declaration

cs-api-definition
protected override bool IsUIElementValidOverride(CellLayoutBox box, WorksheetUIUpdateContextBase updateContext)

Parameters

box

CellLayoutBox

The box of the UI element.

updateContext

WorksheetUIUpdateContextBase

The update context.

Returns

bool

True if valid.

Overrides CellBasedUILayer.IsUIElementValidOverride(CellLayoutBox, WorksheetUIUpdateContextBase)

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)

SetUIElementPropertiesForBox(UIElement, CellLayoutBox, WorksheetUIUpdateContextBase)

Sets the UI element properties for box.

Declaration

cs-api-definition
protected override void SetUIElementPropertiesForBox(UIElement uiElement, CellLayoutBox box, WorksheetUIUpdateContextBase updateContext)

Parameters

uiElement

UIElement

The UI element.

box

CellLayoutBox

The box of the UI element.

updateContext

WorksheetUIUpdateContextBase

The update context.

Overrides BoxBasedUILayer<CellLayoutBox>.SetUIElementPropertiesForBox(UIElement, CellLayoutBox, WorksheetUIUpdateContextBase)

UpdateUIOverride(WorksheetUIUpdateContextBase)

Updates the UI.

Declaration

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

Parameters

updateContext

WorksheetUIUpdateContextBase

The update context.

Overrides BoxBasedUILayer<CellLayoutBox>.UpdateUIOverride(WorksheetUIUpdateContextBase)