CellValuesUILayer
Represents the cell values UI layer.
Definition
Namespace:Telerik.WinForms.Controls.Spreadsheet.Worksheets.Layers
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public class CellValuesUILayer : CellBasedUILayer, INamedObject
Inheritance: objectUILayerPooledUILayerWorksheetUILayerBaseBoxBasedUILayer<CellLayoutBox>CellBasedUILayerCellValuesUILayer...
Implements:
Inherited Members
Constructors
Initializes a new instance of the CellValuesUILayer class.
public CellValuesUILayer()
Properties
Gets the name of the layer.
public override string Name { get; }
The name of the layer.
Overrides:
Gets the value indicating if the UI element will be reused without removing from visual tree.
protected override bool ReuseUIElementsWithoutRemovingFromVisualTree { get; }
The value indicating if the UI element will be reused without removing from visual tree.
Overrides:
Methods
Creates the UI element for box.
protected override UIElement CreateUIElementForBox(ViewportPaneType viewportPaneType, CellLayoutBox box, WorksheetUIUpdateContextBase updateContext)
Type of the viewport pane.
boxCellLayoutBoxThe desired box.
updateContextWorksheetUIUpdateContextBaseThe update context.
Returns:The created UI element.
Overrides:
Gets the element visibility.
protected override ElementVisibility GetElementVisibility(UIElement element)
The element.
Returns:The visibility.
Overrides:
Initializes the layer.
public override void Initialize(IRadWorksheetEditorPresenter presenter)
The presenter.
Overrides:
Determines whether the specified UI element box is valid.
protected override bool IsUIElementValidOverride(CellLayoutBox box, WorksheetUIUpdateContextBase updateContext)
The box of the UI element.
updateContextWorksheetUIUpdateContextBaseThe update context.
Returns:True if valid.
Overrides:
Sets the element visibility.
protected override void SetElementVisibility(UIElement element, ElementVisibility visibility)
The element.
visibilityElementVisibilityThe visibility.
Overrides:
Sets the UI element properties for box.
protected override void SetUIElementPropertiesForBox(UIElement uiElement, CellLayoutBox box, WorksheetUIUpdateContextBase updateContext)
The UI element.
boxCellLayoutBoxThe box of the UI element.
updateContextWorksheetUIUpdateContextBaseThe update context.
Overrides:
Updates the UI.
public override void UpdateUIOverride(WorksheetUIUpdateContextBase updateContext)
The update context.
Overrides: