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

Represents the cell input UI layer.

Definition

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

Assembly:Telerik.WinControls.RadSpreadsheet.dll

Syntax:

C#
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, ElementVisibility)UILayer.GetAddedUIElements(ViewportPaneType)UILayer.ContainerManager...

Constructors

Initializes a new instance of the CellInputUILayer class.

C#
public CellInputUILayer()

Properties

Gets or sets the active cell editor.

C#
public ICellEditor ActiveCellEditor { get; set; }
Property Value:

The active cell editor.

Gets the cell editor.

C#
public CellEditor CellEditor { get; }
Property Value:

The cell editor.

Gets the name of the layer.

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

The name of the layer.

Overrides: UILayer.Name

Gets the UI update context cache.

C#
protected WorksheetUIUpdateContext UIUpdateContextCache { get; }
Property Value:

The UI update context cache.

Methods

Applies the change.

C#
public bool ApplyChange()
Returns:

bool

True is successful.

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

C#
public override void Clear()

Overrides: PooledUILayer.Clear()

Detaches from editor dependent events.

C#
protected override void DetachFromEditorDependentEvents(RadSheetEditorBase editor)
Parameters:editorRadSheetEditorBase

The editor.

Overrides: WorksheetUILayerBase.DetachFromEditorDependentEvents(RadSheetEditorBase)

Called when the owner is changed.

C#
protected override void OnOwnerChanged(RadWorksheetEditor oldEditor, RadWorksheetEditor newEditor)
Parameters:oldEditorRadWorksheetEditor

The old editor.

newEditorRadWorksheetEditor

The new editor.

Overrides: WorksheetUILayerBase.OnOwnerChanged(RadWorksheetEditor, RadWorksheetEditor)

Called when the selection is changed.

C#
protected override void OnSelectionChanged()

Overrides: WorksheetUILayerBase.OnSelectionChanged()

Translates and scales the UI elements of the layer.

C#
protected override void TranslateAndScale(UIUpdateContext updateContext)
Parameters:updateContextUIUpdateContext

The update context.

Overrides: UILayer.TranslateAndScale(UIUpdateContext)

Updates the UI.

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

The update context.

Overrides: WorksheetUILayerBase.UpdateUIOverride(WorksheetUIUpdateContextBase)

Events

Occurs when the active cell editor is changed.

C#
public event EventHandler ActiveCellEditorChanged