Class
WorksheetUILayerBase

Provides the base class from which the classes that represent worksheet UI layers are delivered.

Definition

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

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public abstract class WorksheetUILayerBase : PooledUILayer, INamedObject

Inheritance: objectUILayerPooledUILayerWorksheetUILayerBase

Derived Classes: AdornerUILayerBoxBasedUILayer<T>CellBordersUILayerBaseCellFillUILayerCellInputUILayerDataValidationCirclesUILayerDataValidationInputMessageUILayerDataValidationListUILayerFilteringUILayerGridlinesOutlineUILayerPageBreaksUILayerPaneSeparatorsUILayerPrintAreaUILayerResizeDecorationUILayerSelectionUILayerShapesUILayerBase<T>

Implements: INamedObject

Inherited Members PooledUILayer.OnUIUpdated()PooledUILayer.ResetPooledElementProperties(object)PooledUILayer.CanRecycle(object)PooledUILayer.AddElementToPool(object)PooledUILayer.GetElementFromPool<T>(ViewportPaneType)PooledUILayer.GetElementFromPool<T>()PooledUILayer.Clear()PooledUILayer.ReuseUIElementsWithoutRemovingFromVisualTreeUILayer.UpdateUI()UILayer.UpdateUI(UIUpdateContext)UILayer.Translate(Point, ViewportPaneType, UIUpdateContext)UILayer.Translate(Rect, ViewportPaneType, UIUpdateContext)UILayer.TranslateAndScale(UIUpdateContext)UILayer.IsElementVisible(UIElement)UILayer.GetElementVisibility(UIElement)UILayer.SetElementVisibility(UIElement, Visibility)UILayer.GetAddedUIElements(ViewportPaneType)UILayer.UIUpdateContextCacheUILayer.ContainerManagerUILayer.Name

Constructors

WorksheetUILayerBase()

Declaration

cs-api-definition
protected WorksheetUILayerBase()

Properties

Owner

Gets the owner.

Declaration

cs-api-definition
protected RadWorksheetEditor Owner { get; }

Property Value

RadWorksheetEditor

The owner.

UpdateOnSelectionChanged

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

Declaration

cs-api-definition
protected virtual bool UpdateOnSelectionChanged { get; }

Property Value

bool

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

Worksheet

Gets the worksheet.

Declaration

cs-api-definition
protected Worksheet Worksheet { get; }

Property Value

Worksheet

The worksheet.

Methods

AttachToEditorDependentEvents(RadSheetEditorBase)

Attaches to editor dependent events.

Declaration

cs-api-definition
protected virtual void AttachToEditorDependentEvents(RadSheetEditorBase editor)

Parameters

editor

RadSheetEditorBase

The editor.

DetachFromEditorDependentEvents(RadSheetEditorBase)

Detaches from editor dependent events.

Declaration

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

Parameters

editor

RadSheetEditorBase

The editor.

Initialize(IRadWorksheetEditorPresenter)

Initializes the layer.

Declaration

cs-api-definition
public virtual void Initialize(IRadWorksheetEditorPresenter presenter)

Parameters

presenter

IRadWorksheetEditorPresenter

The presenter.

OnOwnerChanged(IUILayerOwner, IUILayerOwner)

Called when the owner is changed.

Declaration

cs-api-definition
protected override sealed void OnOwnerChanged(IUILayerOwner oldOwner, IUILayerOwner newOwner)

Parameters

oldOwner

IUILayerOwner

The old owner.

newOwner

IUILayerOwner

The new owner.

Overrides UILayer.OnOwnerChanged(IUILayerOwner, IUILayerOwner)

OnOwnerChanged(RadWorksheetEditor, RadWorksheetEditor)

Called when the owner is changed.

Declaration

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

Parameters

oldEditor

RadWorksheetEditor

The old editor.

newEditor

RadWorksheetEditor

The new editor.

OnSelectionChanged()

Called when the selection is changed.

Declaration

cs-api-definition
protected virtual void OnSelectionChanged()

Scale(Point, WorksheetUIUpdateContextBase)

Scales the specified point.

Declaration

cs-api-definition
protected Point Scale(Point point, WorksheetUIUpdateContextBase updateContext)

Parameters

point

Point

The point.

updateContext

WorksheetUIUpdateContextBase

The update context.

Returns

Point

The scaled point.

Scale(Size, WorksheetUIUpdateContextBase)

Scales the specified size.

Declaration

cs-api-definition
protected Size Scale(Size size, WorksheetUIUpdateContextBase updateContext)

Parameters

size

Size

The size to scale.

updateContext

WorksheetUIUpdateContextBase

The update context.

Returns

Size

The scaled size.

Scale(double, WorksheetUIUpdateContextBase)

Scales the specified value.

Declaration

cs-api-definition
protected double Scale(double value, WorksheetUIUpdateContextBase updateContext)

Parameters

value

double

The value.

updateContext

WorksheetUIUpdateContextBase

The update context.

Returns

double

Scaled value.

TranslateAndScale(Point, ViewportPaneType, WorksheetUIUpdateContextBase)

Translates and scales a point.

Declaration

cs-api-definition
protected Point TranslateAndScale(Point point, ViewportPaneType viewportPaneType, WorksheetUIUpdateContextBase updateContext)

Parameters

point

Point

The point.

viewportPaneType

ViewportPaneType

Type of the viewport pane.

updateContext

WorksheetUIUpdateContextBase

The update context.

Returns

Point

The translated and scaled point.

UpdateUIOverride(UIUpdateContext)

Updates the UI.

Declaration

cs-api-definition
protected override sealed void UpdateUIOverride(UIUpdateContext updateContext)

Parameters

updateContext

UIUpdateContext

The update context.

Overrides UILayer.UpdateUIOverride(UIUpdateContext)

UpdateUIOverride(WorksheetUIUpdateContextBase)

Updates the UI.

Declaration

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

Parameters

updateContext

WorksheetUIUpdateContextBase

The update context.