Class WorksheetUILayerBase
Provides the base class from which the classes that represent worksheet UI layers are delivered.
Inherited Members
Namespace: Telerik.WinForms.Controls.Spreadsheet.Worksheets.Layers
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public abstract class WorksheetUILayerBase : PooledUILayer, INamedObject
Constructors
WorksheetUILayerBase()
Declaration
protected WorksheetUILayerBase()
Properties
Owner
Gets the owner.
Declaration
protected RadWorksheetEditor Owner { get; }
Property Value
Rad The owner. |
UpdateOnSelectionChanged
Gets the value indicating if the layer should be updated on selection changing.
Declaration
protected virtual bool UpdateOnSelectionChanged { get; }
Property Value
System. The value indicating if the layer should be updated on selection changing. |
Worksheet
Gets the worksheet.
Declaration
protected Worksheet Worksheet { get; }
Property Value
Worksheet
The worksheet. |
Methods
AttachToEditorDependentEvents(RadSheetEditorBase)
Attaches to editor dependent events.
Declaration
protected virtual void AttachToEditorDependentEvents(RadSheetEditorBase editor)
Parameters
Rad The editor. |
DetachFromEditorDependentEvents(RadSheetEditorBase)
Detaches from editor dependent events.
Declaration
protected virtual void DetachFromEditorDependentEvents(RadSheetEditorBase editor)
Parameters
Rad The editor. |
Initialize(IRadWorksheetEditorPresenter)
Initializes the layer.
Declaration
public virtual void Initialize(IRadWorksheetEditorPresenter presenter)
Parameters
IRad The presenter. |
OnOwnerChanged(IUILayerOwner, IUILayerOwner)
Called when the owner is changed.
Declaration
protected override sealed void OnOwnerChanged(IUILayerOwner oldOwner, IUILayerOwner newOwner)
Parameters
IUILayer The old owner. |
IUILayer The new owner. |
Overrides
OnOwnerChanged(RadWorksheetEditor, RadWorksheetEditor)
Called when the owner is changed.
Declaration
protected virtual void OnOwnerChanged(RadWorksheetEditor oldEditor, RadWorksheetEditor newEditor)
Parameters
Rad The old editor. |
Rad The new editor. |
OnSelectionChanged()
Called when the selection is changed.
Declaration
protected virtual void OnSelectionChanged()
Scale(Double, WorksheetUIUpdateContextBase)
Scales the specified value.
Declaration
protected double Scale(double value, WorksheetUIUpdateContextBase updateContext)
Parameters
System. The value. |
Worksheet The update context. |
Returns
System. Scaled value. |
Scale(Point, WorksheetUIUpdateContextBase)
Scales the specified point.
Declaration
protected Point Scale(Point point, WorksheetUIUpdateContextBase updateContext)
Parameters
Point
point
The point. |
Worksheet The update context. |
Returns
Point
The scaled point. |
Scale(Size, WorksheetUIUpdateContextBase)
Scales the specified size.
Declaration
protected Size Scale(Size size, WorksheetUIUpdateContextBase updateContext)
Parameters
Size
size
The size to scale. |
Worksheet The update context. |
Returns
Size
The scaled size. |
TranslateAndScale(Point, ViewportPaneType, WorksheetUIUpdateContextBase)
Translates and scales a point.
Declaration
protected Point TranslateAndScale(Point point, ViewportPaneType viewportPaneType, WorksheetUIUpdateContextBase updateContext)
Parameters
Point
point
The point. |
Viewport Type of the viewport pane. |
Worksheet The update context. |
Returns
Point
The translated and scaled point. |
UpdateUIOverride(UIUpdateContext)
Updates the UI.
Declaration
protected override sealed void UpdateUIOverride(UIUpdateContext updateContext)
Parameters
UIUpdate The update context. |
Overrides
UpdateUIOverride(WorksheetUIUpdateContextBase)
Updates the UI.
Declaration
public virtual void UpdateUIOverride(WorksheetUIUpdateContextBase updateContext)
Parameters
Worksheet The update context. |