Class SheetViewport
Represents the sheet viewport.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Layout
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class SheetViewport
Properties
Height
Gets the height.
Declaration
public double Height { get; }
Property Value
System. The height. |
Item[ViewportPaneType]
Gets or sets the Viewport
Declaration
public ViewportPane this[ViewportPaneType pane] { get; set; }
Parameters
Viewport
|
Property Value
Viewport The viewport pane. |
ViewportPanes
Gets the viewport panes.
Declaration
public ViewportPane[] ViewportPanes { get; }
Property Value
Viewport The viewport panes. |
ViewportPanesCount
Gets the viewport panes count.
Declaration
public int ViewportPanesCount { get; }
Property Value
System. The viewport panes count. |
Width
Gets the width.
Declaration
public double Width { get; }
Property Value
System. The width. |
Methods
Contains(Int32, Int32)
Determines whether the sheet viewport contains the specified row and column index.
Declaration
public bool Contains(int rowIndex, int columnIndex)
Parameters
System. Index of the row. |
System. Index of the column. |
Returns
System.
|
Contains(Point)
Determines whether the SheetViewport contains the specified point.
Declaration
public bool Contains(Point point)
Parameters
System. The point. |
Returns
System. True if contains the point. |
Contains(Rect)
Determines whether [contains] [the specified bounding rectangle].
Declaration
public bool Contains(Rect boundingRectangle)
Parameters
System. The bounding rectangle. |
Returns
System.
|
Contains(CellIndex)
Determines whether the SheetViewport contains the specified cell index.
Declaration
public bool Contains(CellIndex cellIndex)
Parameters
Cell Index of the cell. |
Returns
System. True if contains the cell index. |
ContainsColumnIndex(Int32)
Determines whetherthe SheetViewport contains the specified column index.
Declaration
public bool ContainsColumnIndex(int columnIndex)
Parameters
System. Index of the column. |
Returns
System. True if contains the column index. |
ContainsRowIndex(Int32)
Determines whether the SheetViewport contains the specified row index.
Declaration
public bool ContainsRowIndex(int rowIndex)
Parameters
System. Index of the row. |
Returns
System. True if contains the row index. |
Equals(Object)
Determines whether the specified System.
Declaration
public override bool Equals(object obj)
Parameters
System. The object to compare with the current object. |
Returns
System. True if the specified System. |
Overrides
GetCellRangeContainingCellIndex(Int32, Int32)
Gets the index of the cell range containing cell.
Declaration
public CellRange GetCellRangeContainingCellIndex(int rowIndex, int columnIndex)
Parameters
System. Index of the row. |
System. Index of the column. |
Returns
GetCellRangeContainingCellIndex(CellIndex)
Gets the cell range containing cell index.
Declaration
public CellRange GetCellRangeContainingCellIndex(CellIndex cellIndex)
Parameters
Cell Index of the cell. |
Returns
Cell The cell range. |
GetDocumentPointFromViewPoint(Point)
Gets the document point from view point.
Declaration
public Point GetDocumentPointFromViewPoint(Point point)
Parameters
System. The view point point. |
Returns
System. The document point. |
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System. A hash code for the current System. |
Overrides
GetLeftMostViewportPaneContainingRowIndex(Int32)
Gets the left most viewport pane containing row index.
Declaration
public ViewportPane GetLeftMostViewportPaneContainingRowIndex(int rowIndex)
Parameters
System. Index of the row. |
Returns
Viewport The viewport pane containing row index. |
GetTopLeftPoint()
Gets the top left point.
Declaration
public Point GetTopLeftPoint()
Returns
System.
|
GetTopMostViewportPaneContainingColumnIndex(Int32)
Gets the top most viewport pane containing column index.
Declaration
public ViewportPane GetTopMostViewportPaneContainingColumnIndex(int columnIndex)
Parameters
System. Index of the column. |
Returns
Viewport The viewport pane containing column index. |
GetViewPointFromDocumentPoint(Point)
Gets the view point from document point.
Declaration
public Point GetViewPointFromDocumentPoint(Point point)
Parameters
System. The document point. |
Returns
System. The view point. |
GetViewportPaneContainingCellIndex(CellIndex)
Gets the index of the viewport pane containing cell.
Declaration
public ViewportPane GetViewportPaneContainingCellIndex(CellIndex index)
Parameters
Cell The index. |
Returns
Viewport The viewport pane containing cell. |
GetViewportPaneFromDocumentPoint(Point)
Gets the viewport pane from document point.
Declaration
public ViewportPane GetViewportPaneFromDocumentPoint(Point point)
Parameters
System. The document point. |
Returns
Viewport The viewport pane. |
Translate(Point, ViewportPaneType)
Translates the specified point.
Declaration
public Point Translate(Point point, ViewportPaneType pointContainingPaneType)
Parameters
System. The point. |
Viewport Type of the pane that contains the point. |
Returns
System. The translated point. |
Operators
Equality(SheetViewport, SheetViewport)
Implements the equals operator.
Declaration
public static bool operator ==(SheetViewport first, SheetViewport second)
Parameters
Sheet The first value. |
Sheet The second value. |
Returns
System. The result of the operator. |
Inequality(SheetViewport, SheetViewport)
Implements the less operator.
Declaration
public static bool operator !=(SheetViewport first, SheetViewport second)
Parameters
Sheet The first value. |
Sheet The second value. |
Returns
System. The result of the operator. |