Class RadWorksheetEditorPresenterBase
Provides the base class from which the classes that represent worksheet editor presenter are derived.
Inherited Members
Namespace: Telerik.Windows.Controls.Spreadsheet.Worksheets
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public abstract class RadWorksheetEditorPresenterBase : WorksheetPresenterBase, IRadWorksheetEditorPresenter, IWorksheetPresenterBase
Constructors
RadWorksheetEditorPresenterBase()
Initializes a new instance of the Rad
Declaration
protected RadWorksheetEditorPresenterBase()
Properties
IsFrozen
Gets the value indicating whether the panes are frozen.
Declaration
protected bool IsFrozen { get; }
Property Value
System. The value indicating whether the panes are frozen. |
Owner
Gets or sets the owner.
Declaration
public RadWorksheetEditor Owner { get; set; }
Property Value
Rad The owner. |
Implements
PointerHandlersController
Gets the pointer handlers controller.
Declaration
public PointerHandlersController PointerHandlersController { get; }
Property Value
Pointer The pointer handlers controller. |
Implements
ScrollableSize
Gets the scrollable size of the presenter.
Declaration
public Size ScrollableSize { get; }
Property Value
System. The scrollable size of the presenter. |
ScrollBarsProvider
Gets or sets the scroll bars provider.
Declaration
public IScrollBarsProvider ScrollBarsProvider { get; set; }
Property Value
IScroll The scroll bars provider. |
Implements
ShouldShowSelectionMarkers
Gets the value indicating if should show selection markers.
Declaration
public bool ShouldShowSelectionMarkers { get; set; }
Property Value
System. The value indicating if should show selection markers. |
Implements
Methods
BringIntoView(CellIndex)
Brings the into view.
Declaration
public abstract void BringIntoView(CellIndex cellIndex)
Parameters
Telerik. 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
System. The view point. |
Returns
Telerik. The cell index. |
Implements
GetDocumentPointFromViewPoint(Point)
Gets the document point from view point.
Declaration
public abstract Point GetDocumentPointFromViewPoint(Point point)
Parameters
System. The view point. |
Returns
System. The document point. |
Implements
GetNearestCellIndexFromViewPoint(Point)
Gets the nearest cell index from view point.
Declaration
public abstract CellIndex GetNearestCellIndexFromViewPoint(Point point)
Parameters
System. The view point. |
Returns
Telerik. The nearest cell index. |
Implements
GetViewPointFromDocumentPoint(Point)
Gets the view point from document point.
Declaration
public abstract Point GetViewPointFromDocumentPoint(Point point)
Parameters
System. The document point. |
Returns
System. 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
Telerik. The position. |
Implements
OnGotFocus(RoutedEventArgs)
Raises the System.
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
System. A System. |
OnKeyUp(KeyEventArgs)
Invoked when an unhandled System.
Declaration
protected override void OnKeyUp(KeyEventArgs e)
Parameters
System. The System. |
OnLostMouseCapture(MouseEventArgs)
Invoked when an unhandled System.
Declaration
protected override void OnLostMouseCapture(MouseEventArgs e)
Parameters
System. The System. |
OnMouseLeftButtonDown(MouseButtonEventArgs)
Invoked when an unhandled System.
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
System. The System. |
OnMouseLeftButtonUp(MouseButtonEventArgs)
Invoked when an unhandled System.
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
System. The System. |
OnMouseMove(MouseEventArgs)
Invoked when an unhandled System.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System. The System. |
OnMouseRightButtonUp(MouseButtonEventArgs)
Invoked when an unhandled System.
Declaration
protected override void OnMouseRightButtonUp(MouseButtonEventArgs e)
Parameters
System. The System. |
OnMouseWheel(MouseWheelEventArgs)
Invoked when an unhandled System.
Declaration
protected override void OnMouseWheel(MouseWheelEventArgs e)
Parameters
System. The System. |
OnOwnerChanged()
Called when the owner is changed.
Declaration
protected virtual void OnOwnerChanged()
OnOwnerChanging()
Called when the owner is changing.
Declaration
protected virtual void OnOwnerChanging()
OnSheetViewportChanged()
Called when the SheetViewport is changed.
Declaration
protected override void OnSheetViewportChanged()
Overrides
OnUIUpdated(WorksheetUIUpdatedEventArgs)
Raises the UIUpdated event.
Declaration
protected virtual void OnUIUpdated(WorksheetUIUpdatedEventArgs args)
Parameters
Worksheet The Worksheet |
SetHorizontalOffset(Double)
Sets the horizontal offset.
Declaration
public void SetHorizontalOffset(double offset)
Parameters
System. The offset. |
Implements
SetupUILayers()
Setups the UI layers.
Declaration
protected abstract void SetupUILayers()
SetVerticalOffset(Double)
Sets the vertical offset.
Declaration
public void SetVerticalOffset(double offset)
Parameters
System. The offset. |
Implements
ShowDropMarker(CellIndex)
Shows the drop marker.
Declaration
public abstract void ShowDropMarker(CellIndex position)
Parameters
Telerik. The position. |
Implements
ShowSelectionMarkers()
Shows the selection markers.
Declaration
public void ShowSelectionMarkers()
Implements
UpdateHorizontalScrollBar(SheetViewport, Double)
Updates the horizontal scroll bar.
Declaration
protected void UpdateHorizontalScrollBar(SheetViewport sheetViewport, double smallChange)
Parameters
Telerik. The sheetViewport. |
System. The small change. |
UpdateScrollBarsMaximum(CellLayoutBox)
Updates the scroll bars maximum.
Declaration
protected void UpdateScrollBarsMaximum(CellLayoutBox topLeftCellLayoutBox = null)
Parameters
Telerik.
|
UpdateScrollBarsMinMax(CellLayoutBox)
Updates the scroll bars min and max value.
Declaration
protected void UpdateScrollBarsMinMax(CellLayoutBox topLeftCellLayoutBox = null)
Parameters
Telerik.
|
UpdateToViewWithTopLeftCellIndex(CellIndex)
Updates the view port so the top left cell index is the desired one.
Declaration
public abstract void UpdateToViewWithTopLeftCellIndex(CellIndex topLeftCellIndex)
Parameters
Telerik. The desired index of the top left visible cell. |
Implements
UpdateVerticalScrollBar(SheetViewport, Double)
Updates the vertical scroll bar.
Declaration
protected void UpdateVerticalScrollBar(SheetViewport sheetViewport, double smallChange)
Parameters
Telerik. The sheetViewport. |
System. The small change. |
Events
FreezePanesChanged
Occurs when the freeze panes has changed.
Declaration
public event EventHandler FreezePanesChanged
Event Type
System.
|
UIUpdated
Occurs when the UI is updated.
Declaration
public event EventHandler<WorksheetUIUpdatedEventArgs> UIUpdated
Event Type
System.
|
Implements
Explicit Interface Implementations
IRadWorksheetEditorPresenter.Focus()
Focuses this instance.
Declaration
void IRadWorksheetEditorPresenter.Focus()