Class
RowHeadingMargin<T>

Represents the row heading margins UI layer.

Definition

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

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Type Parameters:

T

The type of RowColumnHeadingBase instances that are being kept in the RowHeadingMargin.

Syntax:

cs-api-definition
public class RowHeadingMargin<T> : RowBasedUILayer, INamedObject, IRowColumnHeadingMargin, IDisposable where T : RowColumnHeadingBase, new()

Inheritance: objectUILayerPooledUILayerWorksheetUILayerBaseBoxBasedUILayer<RowLayoutBox>RowBasedUILayerRowHeadingMargin<T>

Derived Classes: RowHeadingMargin

Implements: IDisposableINamedObjectIRowColumnHeadingMargin

Inherited Members RowBasedUILayer.IsUIElementValidOverride(RowLayoutBox, WorksheetUIUpdateContextBase)RowBasedUILayer.GetVisibleBoxes(ViewportPaneType, WorksheetUIUpdateContextBase)BoxBasedUILayer<RowLayoutBox>.GetAssociatedBoxForUIElement(ViewportPaneType, UIElement)BoxBasedUILayer<RowLayoutBox>.GetAssociatedUIElementForBox(ViewportPaneType, RowLayoutBox)BoxBasedUILayer<RowLayoutBox>.GetAddedUIElements(ViewportPaneType)BoxBasedUILayer<RowLayoutBox>.Clear()WorksheetUILayerBase.UpdateUIOverride(UIUpdateContext)WorksheetUILayerBase.OnOwnerChanged(IUILayerOwner, IUILayerOwner)WorksheetUILayerBase.Initialize(IRadWorksheetEditorPresenter)WorksheetUILayerBase.OnSelectionChanged()WorksheetUILayerBase.OnOwnerChanged(RadWorksheetEditor, RadWorksheetEditor)WorksheetUILayerBase.DetachFromEditorDependentEvents(RadSheetEditorBase)WorksheetUILayerBase.AttachToEditorDependentEvents(RadSheetEditorBase)WorksheetUILayerBase.TranslateAndScale(Point, ViewportPaneType, WorksheetUIUpdateContextBase)WorksheetUILayerBase.Scale(Size, WorksheetUIUpdateContextBase)WorksheetUILayerBase.Scale(Point, WorksheetUIUpdateContextBase)WorksheetUILayerBase.Scale(double, WorksheetUIUpdateContextBase)WorksheetUILayerBase.OwnerWorksheetUILayerBase.WorksheetPooledUILayer.OnUIUpdated()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.UIUpdateContextCacheUILayer.ContainerManager

Constructors

RowHeadingMargin()

Initializes a new instance of the RowHeadingMargin class.

Declaration

cs-api-definition
public RowHeadingMargin()

Properties

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

UpdateOnSelectionChanged

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

Declaration

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

Property Value

bool

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

Overrides WorksheetUILayerBase.UpdateOnSelectionChanged

Methods

CreateUIElementForBox(ViewportPaneType, RowLayoutBox, WorksheetUIUpdateContextBase)

Creates the UI element for box.

Declaration

cs-api-definition
protected override UIElement CreateUIElementForBox(ViewportPaneType viewportPaneType, RowLayoutBox box, WorksheetUIUpdateContextBase updateContext)

Parameters

viewportPaneType

ViewportPaneType

Type of the viewport pane.

box

RowLayoutBox

The box.

updateContext

WorksheetUIUpdateContextBase

The update context.

Returns

UIElement

The created UI element.

Overrides BoxBasedUILayer<RowLayoutBox>.CreateUIElementForBox(ViewportPaneType, RowLayoutBox, WorksheetUIUpdateContextBase)

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

Dispose(bool)

Disposes the specified clean up managed resources.

Declaration

cs-api-definition
protected virtual void Dispose(bool cleanUpManagedResources)

Parameters

cleanUpManagedResources

bool

The clean up managed resources.

ResetPooledElementProperties(object)

Resets the pooled element properties.

Declaration

cs-api-definition
protected override void ResetPooledElementProperties(object element)

Parameters

element

object

The element.

Overrides PooledUILayer.ResetPooledElementProperties(object)

SetUIElementPropertiesForBox(UIElement, RowLayoutBox, WorksheetUIUpdateContextBase)

Sets the UI element properties for box.

Declaration

cs-api-definition
protected override void SetUIElementPropertiesForBox(UIElement uiElement, RowLayoutBox box, WorksheetUIUpdateContextBase updateContext)

Parameters

uiElement

UIElement

The UI element.

box

RowLayoutBox

The box of the UI element.

updateContext

WorksheetUIUpdateContextBase

The update context.

Overrides BoxBasedUILayer<RowLayoutBox>.SetUIElementPropertiesForBox(UIElement, RowLayoutBox, WorksheetUIUpdateContextBase)

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 BoxBasedUILayer<RowLayoutBox>.TranslateAndScale(UIUpdateContext)

UpdateUIOverride(WorksheetUIUpdateContextBase)

Updates the UI.

Declaration

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

Parameters

updateContext

WorksheetUIUpdateContextBase

The update context.

Overrides BoxBasedUILayer<RowLayoutBox>.UpdateUIOverride(WorksheetUIUpdateContextBase)