ClassCellValuesUILayer
Represents the cell values UI layer.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Worksheets.Layers
Assembly:Telerik.Windows.Controls.Spreadsheet.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
ViewportPaneType
Type of the viewport pane.
box
CellLayoutBox
The desired box.
updateContext
The update context.
Returns
UIElement
The created UI element.
Overrides
GetElementVisibility(UIElement)
Gets the element visibility.
Declaration
protected override Visibility GetElementVisibility(UIElement element)
Parameters
element
UIElement
The element.
Returns
Visibility
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
CellLayoutBox
The box of the UI element.
updateContext
The update context.
Returns
True if valid.
Overrides
SetElementVisibility(UIElement, Visibility)
Sets the element visibility.
Declaration
protected override void SetElementVisibility(UIElement element, Visibility visibility)
Parameters
element
UIElement
The element.
visibility
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
UIElement
The UI element.
box
CellLayoutBox
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