Class ColumnHeadingMargin<T>
Represents the column heading margins UI layer.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Spreadsheet.Worksheets.Margins
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class ColumnHeadingMargin<T> : ColumnBasedUILayer, INamedObject, IRowColumnHeadingMargin, IDisposable where T : RowColumnHeadingBase, new()
Type Parameters
T
The type of RowColumnHeadingBase instances that are being kept in the ColumnHeadingMargin. |
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
System.String
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
System.Boolean
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
Telerik.Windows.Documents.Spreadsheet.Layout.ViewportPaneType
viewportPaneType
Type of the viewport pane. |
Telerik.Windows.Documents.Spreadsheet.Layout.ColumnLayoutBox
box
The box. |
WorksheetUIUpdateContextBase
updateContext
The update context. |
Returns
System.Windows.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(Boolean)
Disposes the specified clean up managed resources.
Declaration
protected virtual void Dispose(bool cleanUpManagedResources)
Parameters
System.Boolean
cleanUpManagedResources
The clean up managed resources. |
ResetPooledElementProperties(Object)
Resets the pooled element properties.
Declaration
protected override void ResetPooledElementProperties(object element)
Parameters
System.Object
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
System.Windows.UIElement
uiElement
The UI element. |
Telerik.Windows.Documents.Spreadsheet.Layout.ColumnLayoutBox
box
The box of the UI element. |
WorksheetUIUpdateContextBase
updateContext
The update context. |
Overrides
TranslateAndScale(UIUpdateContext)
Translates and scales the UI elements of the layer.
Declaration
protected override void TranslateAndScale(UIUpdateContext updateContext)
Parameters
UIUpdateContext
updateContext
The update context. |
Overrides
UpdateUIOverride(WorksheetUIUpdateContextBase)
Updates the UI.
Declaration
public override void UpdateUIOverride(WorksheetUIUpdateContextBase updateContext)
Parameters
WorksheetUIUpdateContextBase
updateContext
The update context. |
Overrides
Explicit Interface Implementations
IRowColumnHeadingMargin.OnMouseMove(MouseEventArgs)
Raises the MouseMove event.
Declaration
void IRowColumnHeadingMargin.OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs
e
The System.Windows.Input.MouseEventArgs instance containing the event data. |