New to Telerik UI for WinFormsStart a free 30-day trial

Represents the cell values UI layer.

Definition

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

Assembly:Telerik.WinControls.RadSpreadsheet.dll

Syntax:

C#
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

Initializes a new instance of the CellValuesUILayer class.

C#
public CellValuesUILayer()

Properties

Gets the name of the layer.

C#
public override string Name { get; }
Property Value:

The name of the layer.

Overrides: UILayer.Name

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

C#
protected override bool ReuseUIElementsWithoutRemovingFromVisualTree { get; }
Property Value:

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

Overrides: PooledUILayer.ReuseUIElementsWithoutRemovingFromVisualTree

Methods

Creates the UI element for box.

C#
protected override UIElement CreateUIElementForBox(ViewportPaneType viewportPaneType, CellLayoutBox box, WorksheetUIUpdateContextBase updateContext)
Parameters:viewportPaneTypeViewportPaneType

Type of the viewport pane.

boxCellLayoutBox

The desired box.

updateContextWorksheetUIUpdateContextBase

The update context.

Returns:

UIElement

The created UI element.

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

Gets the element visibility.

C#
protected override ElementVisibility GetElementVisibility(UIElement element)
Parameters:elementUIElement

The element.

Returns:

ElementVisibility

The visibility.

Overrides: UILayer.GetElementVisibility(UIElement)

Initializes the layer.

C#
public override void Initialize(IRadWorksheetEditorPresenter presenter)
Parameters:presenterIRadWorksheetEditorPresenter

The presenter.

Overrides: WorksheetUILayerBase.Initialize(IRadWorksheetEditorPresenter)

Determines whether the specified UI element box is valid.

C#
protected override bool IsUIElementValidOverride(CellLayoutBox box, WorksheetUIUpdateContextBase updateContext)
Parameters:boxCellLayoutBox

The box of the UI element.

updateContextWorksheetUIUpdateContextBase

The update context.

Returns:

bool

True if valid.

Overrides: CellBasedUILayer.IsUIElementValidOverride(CellLayoutBox, WorksheetUIUpdateContextBase)

Sets the element visibility.

C#
protected override void SetElementVisibility(UIElement element, ElementVisibility visibility)
Parameters:elementUIElement

The element.

visibilityElementVisibility

The visibility.

Overrides: UILayer.SetElementVisibility(UIElement, ElementVisibility)

Sets the UI element properties for box.

C#
protected override void SetUIElementPropertiesForBox(UIElement uiElement, CellLayoutBox box, WorksheetUIUpdateContextBase updateContext)
Parameters:uiElementUIElement

The UI element.

boxCellLayoutBox

The box of the UI element.

updateContextWorksheetUIUpdateContextBase

The update context.

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

Updates the UI.

C#
public override void UpdateUIOverride(WorksheetUIUpdateContextBase updateContext)
Parameters:updateContextWorksheetUIUpdateContextBase

The update context.

Overrides: BoxBasedUILayer<CellLayoutBox>.UpdateUIOverride(WorksheetUIUpdateContextBase)