Class NormalWorksheetEditorPresenter
Represents the normal worksheet editor presenter.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Controls.Spreadsheet.Worksheets
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class NormalWorksheetEditorPresenter : RadWorksheetEditorPresenterBase, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IRadWorksheetEditorPresenter, IWorksheetPresenterBase
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(SizeF)
When overridden in a derived class, measures the size in layout required for child elements and determines a size for the System.Windows.FrameworkElement-derived class.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
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
System.Drawing.SizeF
The size that this element determines it needs during layout, based on its calculations of child element sizes. |
Overrides
MoveDropMarker(CellIndex)
Moves the drop marker.
Declaration
public override void MoveDropMarker(CellIndex position)
Parameters
CellIndex
position
The position. |
Overrides
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
CellIndex
position
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
CellIndex
topLeftCellIndex
The desired index of the top left visible cell. |