Represents the normal worksheet editor presenter.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Worksheets
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class NormalWorksheetEditorPresenter : RadWorksheetEditorPresenterBase, IRadWorksheetEditorPresenter, IWorksheetPresenterBase
Inheritance: objectControlBaseWorksheetPresenterBaseRadWorksheetEditorPresenterBaseNormalWorksheetEditorPresenter
Implements:
Inherited Members
Constructors
Initializes a new instance of the NormalWorksheetEditorPresenter class.
public NormalWorksheetEditorPresenter()
Methods
Brings the into view.
public override void BringIntoView(CellIndex cellIndex)
Index of the cell.
Overrides:
GetCellIndexFromViewPoint(Point)
CellIndex
Gets the cell index from view point.
public override CellIndex GetCellIndexFromViewPoint(Point point)
The view point.
Returns:CellIndex
The cell index.
Overrides:
Gets the document point from view point.
public override Point GetDocumentPointFromViewPoint(Point point)
The view point.
Returns:Point
The document point.
Overrides:
Gets the nearest cell index from view point.
public override CellIndex GetNearestCellIndexFromViewPoint(Point point)
The view point.
Returns:CellIndex
The nearest cell index.
Overrides:
Gets the view point from document point.
public override Point GetViewPointFromDocumentPoint(Point point)
The document point.
Returns:Point
The view point.
Overrides:
Hides the drop marker.
public override void HideDropMarker()
Overrides:
Initializes the UI layers.
protected override void InitializeUILayers()
Overrides:
Invalidates the layout.
public override void InvalidateLayout()
Overrides:
When overridden in a derived class, measures the size in layout required for child elements and determines a size for the FrameworkElement-derived class.
protected override Size MeasureOverride(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:Size
The size that this element determines it needs during layout, based on its calculations of child element sizes.
Moves the drop marker.
public override void MoveDropMarker(CellIndex position)
The position.
Overrides:
When overridden in a derived class, is invoked whenever application code or internal processes call .
public override void OnApplyTemplate()
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Called when the owner is changed.
protected override void OnOwnerChanged()
Overrides:
Called when the owner is changing.
protected override void OnOwnerChanging()
Overrides:
Setups the UI layers.
protected override void SetupUILayers()
Overrides:
Shows the drop marker.
public override void ShowDropMarker(CellIndex position)
The position.
Overrides:
Updates the view port so the top left cell index is the desired one.
public override void UpdateToViewWithTopLeftCellIndex(CellIndex topLeftCellIndex)
The desired index of the top left visible cell.
Overrides: