Class NormalWorksheetEditorPresenter
Represents the normal worksheet editor presenter.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Spreadsheet.Worksheets
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class NormalWorksheetEditorPresenter : RadWorksheetEditorPresenterBase, IRadWorksheetEditorPresenter, IWorksheetPresenterBase
Constructors
NormalWorksheetEditorPresenter()
Initializes a new instance of the NormalWorksheetEditorPresenter class.
Declaration
public NormalWorksheetEditorPresenter()
Methods
BringIntoView(CellIndex)
Brings the into view.
Declaration
public override void BringIntoView(CellIndex cellIndex)
Parameters
Telerik.Windows.Documents.Spreadsheet.Model.CellIndex
cellIndex
Index of the cell. |
Overrides
GetCellIndexFromViewPoint(Point)
Gets the cell index from view point.
Declaration
public override CellIndex GetCellIndexFromViewPoint(Point point)
Parameters
System.Windows.Point
point
The view point. |
Returns
Telerik.Windows.Documents.Spreadsheet.Model.CellIndex
The cell index. |
Overrides
GetDocumentPointFromViewPoint(Point)
Gets the document point from view point.
Declaration
public override Point GetDocumentPointFromViewPoint(Point point)
Parameters
System.Windows.Point
point
The view point. |
Returns
System.Windows.Point
The document point. |
Overrides
GetNearestCellIndexFromViewPoint(Point)
Gets the nearest cell index from view point.
Declaration
public override CellIndex GetNearestCellIndexFromViewPoint(Point point)
Parameters
System.Windows.Point
point
The view point. |
Returns
Telerik.Windows.Documents.Spreadsheet.Model.CellIndex
The nearest cell index. |
Overrides
GetViewPointFromDocumentPoint(Point)
Gets the view point from document point.
Declaration
public override Point GetViewPointFromDocumentPoint(Point point)
Parameters
System.Windows.Point
point
The document point. |
Returns
System.Windows.Point
The view point. |
Overrides
HideDropMarker()
Hides the drop marker.
Declaration
public override void HideDropMarker()
Overrides
InitializeUILayers()
Initializes the UI layers.
Declaration
protected override void InitializeUILayers()
Overrides
InvalidateLayout()
Invalidates the layout.
Declaration
public override void InvalidateLayout()
Overrides
MeasureOverride(Size)
When overridden in a derived class, measures the size in layout required for child elements and determines a size for the System.Windows.FrameworkElement-derived class.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size
availableSize
The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available. |
Returns
System.Windows.Size
The size that this element determines it needs during layout, based on its calculations of child element sizes. |
MoveDropMarker(CellIndex)
Moves the drop marker.
Declaration
public override void MoveDropMarker(CellIndex position)
Parameters
Telerik.Windows.Documents.Spreadsheet.Model.CellIndex
position
The position. |
Overrides
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnOwnerChanged()
Called when the owner is changed.
Declaration
protected override void OnOwnerChanged()
Overrides
OnOwnerChanging()
Called when the owner is changing.
Declaration
protected override void OnOwnerChanging()
Overrides
SetupUILayers()
Setups the UI layers.
Declaration
protected override void SetupUILayers()
Overrides
ShowDropMarker(CellIndex)
Shows the drop marker.
Declaration
public override void ShowDropMarker(CellIndex position)
Parameters
Telerik.Windows.Documents.Spreadsheet.Model.CellIndex
position
The position. |
Overrides
UpdateToViewWithTopLeftCellIndex(CellIndex)
Updates the view port so the top left cell index is the desired one.
Declaration
public override void UpdateToViewWithTopLeftCellIndex(CellIndex topLeftCellIndex)
Parameters
Telerik.Windows.Documents.Spreadsheet.Model.CellIndex
topLeftCellIndex
The desired index of the top left visible cell. |