Class
CellInputUILayer

Represents the cell input UI layer.

Definition

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

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class CellInputUILayer : WorksheetUILayerBase, INamedObject

Inheritance: objectUILayerPooledUILayerWorksheetUILayerBaseCellInputUILayer

Implements: INamedObject

Inherited Members WorksheetUILayerBase.UpdateUIOverride(UIUpdateContext)WorksheetUILayerBase.OnOwnerChanged(IUILayerOwner, IUILayerOwner)WorksheetUILayerBase.Initialize(IRadWorksheetEditorPresenter)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>()PooledUILayer.ReuseUIElementsWithoutRemovingFromVisualTreeUILayer.UpdateUI()UILayer.UpdateUI(UIUpdateContext)UILayer.Translate(Point, ViewportPaneType, UIUpdateContext)UILayer.Translate(Rect, ViewportPaneType, UIUpdateContext)UILayer.IsElementVisible(UIElement)UILayer.GetElementVisibility(UIElement)UILayer.SetElementVisibility(UIElement, Visibility)UILayer.GetAddedUIElements(ViewportPaneType)UILayer.ContainerManager

Constructors

CellInputUILayer()

Initializes a new instance of the CellInputUILayer class.

Declaration

cs-api-definition
public CellInputUILayer()

Properties

ActiveCellEditor

Gets or sets the active cell editor.

Declaration

cs-api-definition
public ICellEditor ActiveCellEditor { get; set; }

Property Value

ICellEditor

The active cell editor.

CellEditor

Gets the cell editor.

Declaration

cs-api-definition
public CellEditor CellEditor { get; }

Property Value

CellEditor

The cell editor.

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

UIUpdateContextCache

Gets the UI update context cache.

Declaration

cs-api-definition
protected WorksheetUIUpdateContext UIUpdateContextCache { get; }

Property Value

WorksheetUIUpdateContext

The UI update context cache.

Methods

ApplyChange()

Applies the change.

Declaration

cs-api-definition
public bool ApplyChange()

Returns

bool

True is successful.

Clear()

Clears this instance by removing all UI elements and returning them in the pool.

Declaration

cs-api-definition
public override void Clear()

Overrides PooledUILayer.Clear()

DetachFromEditorDependentEvents(RadSheetEditorBase)

Detaches from editor dependent events.

Declaration

cs-api-definition
protected override void DetachFromEditorDependentEvents(RadSheetEditorBase editor)

Parameters

editor

RadSheetEditorBase

The editor.

Overrides WorksheetUILayerBase.DetachFromEditorDependentEvents(RadSheetEditorBase)

OnOwnerChanged(RadWorksheetEditor, RadWorksheetEditor)

Called when the owner is changed.

Declaration

cs-api-definition
protected override void OnOwnerChanged(RadWorksheetEditor oldEditor, RadWorksheetEditor newEditor)

Parameters

oldEditor

RadWorksheetEditor

The old editor.

newEditor

RadWorksheetEditor

The new editor.

Overrides WorksheetUILayerBase.OnOwnerChanged(RadWorksheetEditor, RadWorksheetEditor)

OnSelectionChanged()

Called when the selection is changed.

Declaration

cs-api-definition
protected override void OnSelectionChanged()

Overrides WorksheetUILayerBase.OnSelectionChanged()

TranslateAndScale(UIUpdateContext)

Translates and scales the UI elements of the layer.

Declaration

cs-api-definition
protected override void TranslateAndScale(UIUpdateContext updateContext)

Parameters

updateContext

UIUpdateContext

The update context.

Overrides UILayer.TranslateAndScale(UIUpdateContext)

UpdateUIOverride(WorksheetUIUpdateContextBase)

Updates the UI.

Declaration

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

Parameters

updateContext

WorksheetUIUpdateContextBase

The update context.

Overrides WorksheetUILayerBase.UpdateUIOverride(WorksheetUIUpdateContextBase)

Events

ActiveCellEditorChanged

Occurs when the active cell editor is changed.

Declaration

cs-api-definition
public event EventHandler ActiveCellEditorChanged

Event Value

EventHandler