RowHeadingMargin<T>
Represents the row 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 RowHeadingMargin.
Syntax:
public class RowHeadingMargin<T> : RowBasedUILayer, INamedObject, IRowColumnHeadingMargin, IDisposable where T : RowColumnHeadingBase, new()
Inheritance: objectUILayerPooledUILayerWorksheetUILayerBaseBoxBasedUILayer<RowLayoutBox>RowBasedUILayerRowHeadingMargin<T>...
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the RowHeadingMargin class.
public RowHeadingMargin()
Properties
Gets the name of the layer.
public override string Name { get; }
The name of the layer.
Overrides:
Gets the value indicating if the layer should be updated on selection changing.
protected override bool UpdateOnSelectionChanged { get; }
The value indicating if the layer should be updated on selection changing.
Overrides:
Methods
Creates the UI element for box.
protected override UIElement CreateUIElementForBox(ViewportPaneType viewportPaneType, RowLayoutBox box, WorksheetUIUpdateContextBase updateContext)
Type of the viewport pane.
boxRowLayoutBoxThe box.
updateContextWorksheetUIUpdateContextBaseThe update context.
Returns:The created UI element.
Overrides:
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Implements:
Disposes the specified clean up managed resources.
protected virtual void Dispose(bool cleanUpManagedResources)
The clean up managed resources.
Resets the pooled element properties.
protected override void ResetPooledElementProperties(object element)
The element.
Overrides:
Sets the UI element properties for box.
protected override void SetUIElementPropertiesForBox(UIElement uiElement, RowLayoutBox box, WorksheetUIUpdateContextBase updateContext)
The UI element.
boxRowLayoutBoxThe box of the UI element.
updateContextWorksheetUIUpdateContextBaseThe update context.
Overrides:
Translates and scales the UI elements of the layer.
protected override void TranslateAndScale(UIUpdateContext updateContext)
The update context.
Overrides:
Updates the UI.
public override void UpdateUIOverride(WorksheetUIUpdateContextBase updateContext)
The update context.
Overrides: