ClassCellValuesUILayer
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
CellValuesUILayer()
Initializes a new instance of the CellValuesUILayer class.
Declaration
public CellValuesUILayer()
Properties
Name
Gets the name of the layer.
Declaration
public override string Name { get; }
Property Value
The name of the layer.
Overrides
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
The value indicating if the UI element will be reused without removing from visual tree.
Overrides
Methods
CreateUIElementForBox(ViewportPaneType, CellLayoutBox, WorksheetUIUpdateContextBase)
Creates the UI element for box.
Declaration
protected override UIElement CreateUIElementForBox(ViewportPaneType viewportPaneType, CellLayoutBox box, WorksheetUIUpdateContextBase updateContext)
Parameters
viewportPaneType
Type of the viewport pane.
box
The desired box.
updateContext
The update context.
Returns
The created UI element.
Overrides
GetElementVisibility(UIElement)
Gets the element visibility.
Declaration
protected override ElementVisibility GetElementVisibility(UIElement element)
Parameters
element
The element.
Returns
The visibility.
Overrides
Initialize(IRadWorksheetEditorPresenter)
Initializes the layer.
Declaration
public override void Initialize(IRadWorksheetEditorPresenter presenter)
Parameters
presenter
The presenter.
Overrides
IsUIElementValidOverride(CellLayoutBox, WorksheetUIUpdateContextBase)
Determines whether the specified UI element box is valid.
Declaration
protected override bool IsUIElementValidOverride(CellLayoutBox box, WorksheetUIUpdateContextBase updateContext)
Parameters
box
The box of the UI element.
updateContext
The update context.
Returns
True if valid.
Overrides
SetElementVisibility(UIElement, ElementVisibility)
Sets the element visibility.
Declaration
protected override void SetElementVisibility(UIElement element, ElementVisibility visibility)
Parameters
element
The element.
visibility
The visibility.
Overrides
SetUIElementPropertiesForBox(UIElement, CellLayoutBox, WorksheetUIUpdateContextBase)
Sets the UI element properties for box.
Declaration
protected override void SetUIElementPropertiesForBox(UIElement uiElement, CellLayoutBox box, WorksheetUIUpdateContextBase updateContext)
Parameters
uiElement
The UI element.
box
The box of the UI element.
updateContext
The update context.
Overrides
UpdateUIOverride(WorksheetUIUpdateContextBase)
Updates the UI.
Declaration
public override void UpdateUIOverride(WorksheetUIUpdateContextBase updateContext)
Parameters
updateContext
The update context.
Overrides