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