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

Represents the selection UI Layer.

Definition

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

Assembly:Telerik.WinControls.RadSpreadsheet.dll

Syntax:

C#
public class SelectionUILayer : WorksheetUILayerBase, INamedObject

Inheritance: objectUILayerPooledUILayerWorksheetUILayerBaseSelectionUILayer

Implements: INamedObject

Inherited Members WorksheetUILayerBase.UpdateUIOverride(UIUpdateContext)WorksheetUILayerBase.OnOwnerChanged(IUILayerOwner, IUILayerOwner)WorksheetUILayerBase.Initialize(IRadWorksheetEditorPresenter)WorksheetUILayerBase.OnSelectionChanged()WorksheetUILayerBase.OnOwnerChanged(RadWorksheetEditor, RadWorksheetEditor)WorksheetUILayerBase.TranslateAndScale(Point, ViewportPaneType, WorksheetUIUpdateContextBase)WorksheetUILayerBase.Scale(Size, WorksheetUIUpdateContextBase)WorksheetUILayerBase.Scale(Point, WorksheetUIUpdateContextBase)WorksheetUILayerBase.Scale(double, WorksheetUIUpdateContextBase)WorksheetUILayerBase.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.UIUpdateContextCacheUILayer.ContainerManager...

Constructors

Initializes a new instance of the SelectionUILayer class.

C#
public SelectionUILayer()

Properties

Gets the name of the layer.

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

The name of the layer.

Overrides: UILayer.Name

Gets the value indicating if the layer should be updated on selection changing.

C#
protected override bool UpdateOnSelectionChanged { get; }
Property Value:

The value indicating if the layer should be updated on selection changing.

Overrides: WorksheetUILayerBase.UpdateOnSelectionChanged

Methods

Attaches to editor dependent events.

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

The editor.

Overrides: WorksheetUILayerBase.AttachToEditorDependentEvents(RadSheetEditorBase)

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)

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)