ClassRadWorksheetEditorPresenterBase
Provides the base class from which the classes that represent worksheet editor presenter are derived.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Worksheets
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public abstract class RadWorksheetEditorPresenterBase : WorksheetPresenterBase, IRadWorksheetEditorPresenter, IWorksheetPresenterBase
Inheritance: objectControlBaseWorksheetPresenterBaseRadWorksheetEditorPresenterBase
Derived Classes:
Implements:
Inherited Members
Constructors
RadWorksheetEditorPresenterBase()
Initializes a new instance of the RadWorksheetEditorPresenterBase class.
Declaration
protected RadWorksheetEditorPresenterBase()
Properties
IsFrozen
Gets the value indicating whether the panes are frozen.
Declaration
protected bool IsFrozen { get; }
Property Value
The value indicating whether the panes are frozen.
Owner
Gets or sets the owner.
Declaration
public RadWorksheetEditor Owner { get; set; }
Property Value
The owner.
Implements
PointerHandlersController
Gets the pointer handlers controller.
Declaration
public PointerHandlersController PointerHandlersController { get; }
Property Value
The pointer handlers controller.
Implements
ScrollBarsProvider
Gets or sets the scroll bars provider.
Declaration
public IScrollBarsProvider ScrollBarsProvider { get; set; }
Property Value
The scroll bars provider.
Implements
ScrollableSize
Gets the scrollable size of the presenter.
Declaration
public Size ScrollableSize { get; }
Property Value
Size
The scrollable size of the presenter.
ShouldShowSelectionMarkers
Gets the value indicating if should show selection markers.
Declaration
public bool ShouldShowSelectionMarkers { get; set; }
Property Value
The value indicating if should show selection markers.
Implements
Methods
BringIntoView(CellIndex)
Brings the into view.
Declaration
public abstract void BringIntoView(CellIndex cellIndex)
Parameters
cellIndex
CellIndex
Index of the cell.
Implements
DoOnSheetChanged()
Called when sheet is changed.
Declaration
protected virtual void DoOnSheetChanged()
DoOnSheetChanging()
Called when the sheet is changing.
Declaration
protected virtual void DoOnSheetChanging()
GetCellIndexFromViewPoint(Point)
Gets the cell index from view point.
Declaration
public abstract CellIndex GetCellIndexFromViewPoint(Point point)
Parameters
point
Point
The view point.
Returns
CellIndex
The cell index.
Implements
GetDocumentPointFromViewPoint(Point)
Gets the document point from view point.
Declaration
public abstract Point GetDocumentPointFromViewPoint(Point point)
Parameters
point
Point
The view point.
Returns
Point
The document point.
Implements
GetNearestCellIndexFromViewPoint(Point)
Gets the nearest cell index from view point.
Declaration
public abstract CellIndex GetNearestCellIndexFromViewPoint(Point point)
Parameters
point
Point
The view point.
Returns
CellIndex
The nearest cell index.
Implements
GetViewPointFromDocumentPoint(Point)
Gets the view point from document point.
Declaration
public abstract Point GetViewPointFromDocumentPoint(Point point)
Parameters
point
Point
The document point.
Returns
Point
The view point.
Implements
HideDropMarker()
Hides the drop marker.
Declaration
public abstract void HideDropMarker()
Implements
HideSelectionMarkers()
Hides the selection markers.
Declaration
public void HideSelectionMarkers()
Implements
InitializeUILayers()
Initializes the UI layers.
Declaration
protected abstract void InitializeUILayers()
InvalidateAndUpdateLayout()
Invalidates the and update layout.
Declaration
protected void InvalidateAndUpdateLayout()
MoveDropMarker(CellIndex)
Moves the drop marker.
Declaration
public abstract void MoveDropMarker(CellIndex position)
Parameters
position
CellIndex
The position.
Implements
OnGotFocus(RoutedEventArgs)
Raises the routed event by using the event data provided.
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
e
RoutedEventArgs
A RoutedEventArgs that contains event data. This event data must contain the identifier for the event.
OnKeyUp(KeyEventArgs)
Invoked when an unhandled attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
Declaration
protected override void OnKeyUp(KeyEventArgs e)
Parameters
e
KeyEventArgs
The KeyEventArgs that contains the event data.
OnLostMouseCapture(MouseEventArgs)
Invoked when an unhandled attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
Declaration
protected override void OnLostMouseCapture(MouseEventArgs e)
Parameters
e
MouseEventArgs
The MouseEventArgs that contains event data.
OnMouseLeftButtonDown(MouseButtonEventArgs)
Invoked when an unhandled routed event is raised on this element. Implement this method to add class handling for this event.
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
e
MouseButtonEventArgs
The MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was pressed.
OnMouseLeftButtonUp(MouseButtonEventArgs)
Invoked when an unhandled routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
e
MouseButtonEventArgs
The MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was released.
OnMouseMove(MouseEventArgs)
Invoked when an unhandled