Provides the base class from which the classes that represent worksheet editor presenter are derived.
Definition
Namespace:Telerik.WinForms.Controls.Spreadsheet.Worksheets
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public abstract class RadWorksheetEditorPresenterBase : WorksheetPresenterBase, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IRadWorksheetEditorPresenter, IWorksheetPresenterBase
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIElementControlBaseWorksheetPresenterBaseRadWorksheetEditorPresenterBase...
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadWorksheetEditorPresenterBase class.
protected RadWorksheetEditorPresenterBase()
Properties
Gets the value indicating whether the panes are frozen.
protected bool IsFrozen { get; }
The value indicating whether the panes are frozen.
Gets or sets the owner.
public RadWorksheetEditor Owner { get; set; }
The owner.
Implements:
Gets the pointer handlers controller.
public PointerHandlersController PointerHandlersController { get; }
The pointer handlers controller.
Implements:
Gets the scrollable size of the presenter.
public Size ScrollableSize { get; }
The scrollable size of the presenter.
Gets or sets the scroll bars provider.
public IScrollBarsProvider ScrollBarsProvider { get; set; }
The scroll bars provider.
Implements:
Gets the value indicating if should show selection markers.
public bool ShouldShowSelectionMarkers { get; set; }
The value indicating if should show selection markers.
Implements:
Methods
Brings the into view.
public abstract void BringIntoView(CellIndex cellIndex)
Index of the cell.
Implements:
Called when sheet is changed.
protected virtual void DoOnSheetChanged()
Called when the sheet is changing.
protected virtual void DoOnSheetChanging()
Hides the drop marker.
public abstract void HideDropMarker()
Implements:
Hides the selection markers.
public void HideSelectionMarkers()
Implements:
Initializes the UI layers.
protected abstract void InitializeUILayers()
Invalidates the and update layout.
protected void InvalidateAndUpdateLayout()
Moves the drop marker.
public abstract void MoveDropMarker(CellIndex position)
The position.
Implements:
Invoked when an unhandled KeyUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnKeyUp(KeyEventArgs e)
The KeyEventArgs that contains the event data.
Overrides:
Invoked when an unhandled LostMouseCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnLostMouseCapture(MouseEventArgs e)
The MouseEventArgs that contains event data.
Overrides:
Invoked when an unhandled MouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event.
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
The MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was pressed.
Overrides:
Invoked when an unhandled MouseLeftButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
The MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was released.
Overrides:
Invoked when an unhandled MouseMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnMouseMove(MouseEventArgs e)
The MouseEventArgs that contains the event data.
Overrides:
Called when mouse right button down event occurs.
protected override void OnMouseRightButtonDown(MouseButtonEventArgs e)
The MouseButtonEventArgs instance containing the event data.
Overrides:
Invoked when an unhandled MouseRightButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnMouseRightButtonUp(MouseButtonEventArgs e)
The MouseButtonEventArgs that contains the event data. The event data reports that the right mouse button was released.
Overrides:
Invoked when an unhandled MouseWheel attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnMouseWheel(MouseEventArgs e)
The MouseEventArgs that contains the event data.
Overrides:
Called when the owner is changed.
protected virtual void OnOwnerChanged()
Called when the owner is changing.
protected virtual void OnOwnerChanging()
Called when the SheetViewport is changed.
protected override void OnSheetViewportChanged()
Overrides:
Raises the event.
protected virtual void OnUIUpdated(WorksheetUIUpdatedEventArgs args)
The WorksheetUIUpdatedEventArgs instance containing the event data.
Sets the horizontal offset.
Setups the UI layers.
protected abstract void SetupUILayers()
Sets the vertical offset.
Shows the drop marker.
public abstract void ShowDropMarker(CellIndex position)
The position.
Implements:
Shows the selection markers.
public void ShowSelectionMarkers()
Implements:
Updates the horizontal scroll bar.
protected void UpdateHorizontalScrollBar(SheetViewport sheetViewport, double smallChange)
The sheetViewport.
smallChangedoubleThe small change.
Updates the scroll bars maximum.
protected void UpdateScrollBarsMaximum(CellLayoutBox topLeftCellLayoutBox = null)
Updates the scroll bars min and max value.
protected void UpdateScrollBarsMinMax(CellLayoutBox topLeftCellLayoutBox = null)
Updates the view port so the top left cell index is the desired one.
public abstract void UpdateToViewWithTopLeftCellIndex(CellIndex topLeftCellIndex)
The desired index of the top left visible cell.
Implements:
Updates the vertical scroll bar.
protected void UpdateVerticalScrollBar(SheetViewport sheetViewport, double smallChange)
The sheetViewport.
smallChangedoubleThe small change.
Events
Occurs when the freeze panes has changed.
public event EventHandler FreezePanesChanged
Occurs when the UI is updated.
public event EventHandler<WorksheetUIUpdatedEventArgs> UIUpdated
Implements: