ClassNormalWorksheetEditorPresenter
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
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
cellIndex
CellIndex
Index of the cell.
Overrides
GetCellIndexFromViewPoint(Point)
Gets the cell index from view point.
Declaration
public override CellIndex GetCellIndexFromViewPoint(Point point)
Parameters
point
Point
The view point.
Returns
CellIndex
The cell index.
Overrides
GetDocumentPointFromViewPoint(Point)
Gets the document point from view point.
Declaration
public override Point GetDocumentPointFromViewPoint(Point point)
Parameters
point
Point
The view point.
Returns
Point
The document point.
Overrides
GetNearestCellIndexFromViewPoint(Point)
Gets the nearest cell index from view point.
Declaration
public override CellIndex GetNearestCellIndexFromViewPoint(Point point)
Parameters
point
Point
The view point.
Returns
CellIndex
The nearest cell index.
Overrides
GetViewPointFromDocumentPoint(Point)
Gets the view point from document point.
Declaration
public override Point GetViewPointFromDocumentPoint(Point point)
Parameters
point
Point
The document point.
Returns
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 FrameworkElement-derived class.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
availableSize
Size
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.
MoveDropMarker(CellIndex)
Moves the drop marker.
Declaration
public override void MoveDropMarker(CellIndex position)
Parameters
position
CellIndex
The position.
Overrides
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call .
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
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
position
CellIndex
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
topLeftCellIndex
CellIndex
The desired index of the top left visible cell.
Overrides