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

Represents the column heading margins UI layer.

Definition

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

Assembly:Telerik.WinControls.RadSpreadsheet.dll

Type Parameters:

T

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

Syntax:

C#
public class ColumnHeadingMargin<T> : ColumnBasedUILayer, INamedObject, IRowColumnHeadingMargin, IDisposable where T : RowColumnHeadingBase, new()

Inheritance: objectUILayerPooledUILayerWorksheetUILayerBaseBoxBasedUILayer<ColumnLayoutBox>ColumnBasedUILayerColumnHeadingMargin<T>...

Derived Classes: ColumnHeadingMargin

Implements: IDisposableINamedObjectIRowColumnHeadingMargin

Inherited Members ColumnBasedUILayer.IsUIElementValidOverride(ColumnLayoutBox, WorksheetUIUpdateContextBase)ColumnBasedUILayer.GetVisibleBoxes(ViewportPaneType, WorksheetUIUpdateContextBase)BoxBasedUILayer<ColumnLayoutBox>.GetAssociatedBoxForUIElement(ViewportPaneType, UIElement)BoxBasedUILayer<ColumnLayoutBox>.GetAssociatedUIElementForBox(ViewportPaneType, ColumnLayoutBox)BoxBasedUILayer<ColumnLayoutBox>.GetAddedUIElements(ViewportPaneType)BoxBasedUILayer<ColumnLayoutBox>.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, ElementVisibility)UILayer.UIUpdateContextCacheUILayer.ContainerManager...

Constructors

Initializes a new instance of the ColumnHeadingMargin class.

C#
public ColumnHeadingMargin()

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

Creates the UI element for box.

C#
protected override UIElement CreateUIElementForBox(ViewportPaneType viewportPaneType, ColumnLayoutBox box, WorksheetUIUpdateContextBase updateContext)
Parameters:viewportPaneTypeViewportPaneType

Type of the viewport pane.

boxColumnLayoutBox

The box.

updateContextWorksheetUIUpdateContextBase

The update context.

Returns:

UIElement

The created UI element.

Overrides: BoxBasedUILayer<ColumnLayoutBox>.CreateUIElementForBox(ViewportPaneType, ColumnLayoutBox, WorksheetUIUpdateContextBase)

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

C#
public void Dispose()

Implements: IDisposable.Dispose()

Disposes the specified clean up managed resources.

C#
protected virtual void Dispose(bool cleanUpManagedResources)
Parameters:cleanUpManagedResourcesbool

The clean up managed resources.

Resets the pooled element properties.

C#
protected override void ResetPooledElementProperties(object element)
Parameters:elementobject

The element.

Overrides: PooledUILayer.ResetPooledElementProperties(object)

Sets the UI element properties for box.

C#
protected override void SetUIElementPropertiesForBox(UIElement uiElement, ColumnLayoutBox box, WorksheetUIUpdateContextBase updateContext)
Parameters:uiElementUIElement

The UI element.

boxColumnLayoutBox

The box of the UI element.

updateContextWorksheetUIUpdateContextBase

The update context.

Overrides: BoxBasedUILayer<ColumnLayoutBox>.SetUIElementPropertiesForBox(UIElement, ColumnLayoutBox, WorksheetUIUpdateContextBase)

Translates and scales the UI elements of the layer.

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

The update context.

Overrides: BoxBasedUILayer<ColumnLayoutBox>.TranslateAndScale(UIUpdateContext)

Updates the UI.

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

The update context.

Overrides: BoxBasedUILayer<ColumnLayoutBox>.UpdateUIOverride(WorksheetUIUpdateContextBase)