Provides a base for the context of the worksheet UI update.
Definition
Namespace:Telerik.WinForms.Controls.Spreadsheet.Worksheets.Layers
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public abstract class WorksheetUIUpdateContextBase : UIUpdateContext
Inheritance: objectUIUpdateContextWorksheetUIUpdateContextBase
Derived Classes:
Inherited Members
Properties
Gets the current theme.
public DocumentTheme CurrentTheme { get; }
The current theme.
Shapes
IEnumerable<FloatingShapeBase>
Gets the visible pictures.
public IEnumerable<FloatingShapeBase> Shapes { get; }
The visible pictures.
Gets or sets a value indicating if the gridlines should be shown.
public bool ShowGridlines { get; set; }
The value indicating if the gridlines should be shown.
VisibleCellLayoutBoxes
Dictionary<ViewportPaneType, CellLayoutBox[]>
Gets the layout boxes of the cells which are currently visible.
public Dictionary<ViewportPaneType, CellLayoutBox[]> VisibleCellLayoutBoxes { get; }
The layout boxes of the cells which are currently visible.
VisibleColumnBoxes
IEnumerable<ColumnLayoutBox>
Gets the visible column boxes.
public IEnumerable<ColumnLayoutBox> VisibleColumnBoxes { get; }
The visible column boxes.
VisibleRowBoxes
IEnumerable<RowLayoutBox>
Gets the visible row boxes.
public IEnumerable<RowLayoutBox> VisibleRowBoxes { get; }
The visible row boxes.
Methods
Gets the actual bounding rectangle by content alignment.
public Rect GetActualBoundingRectangleByContentAlignment(CellLayoutBox cellBox)
The cell box.
Returns:The actual bounding rectangle.
Gets the bottom border.
public CellBorder GetBottomBorder(CellIndex cellIndex)
Index of the cell.
Returns:Returns the bottom border.
Gets the cell clipping.
public Rect GetCellClipping(CellLayoutBox cellBox)
The cell box.
Returns:The cell clipping rectangle.
Gets the size of the cell content.
public Size GetCellContentSize(CellLayoutBox cellBox)
The cell box.
Returns:The size of the cell content.
Gets the cell format.
public CellValueFormat GetCellFormat(CellIndex cellIndex)
Index of the cell.
Returns:The cell format.
Gets the cell value.
public ICellValue GetCellValue(CellIndex cellIndex)
Index of the cell.
Returns:THe cell value.
Gets the data validation rule.
public IDataValidationRule GetDataValidationRule(CellIndex cellIndex)
Index of the cell.
Returns:The data validation rule
Gets the diagonal down border.
public CellBorder GetDiagonalDownBorder(CellIndex cellIndex)
Index of the cell.
Returns:The diagonal down border.
Gets the diagonal up border.
public CellBorder GetDiagonalUpBorder(CellIndex cellIndex)
Index of the cell.
Returns:The diagonal up border.
Gets the font properties.
public FontProperties GetFontProperties(CellIndex cellIndex)
Index of the cell.
Returns:The font properties.
Gets the horizontal alignment.
public RadHorizontalAlignment GetHorizontalAlignment(CellIndex cellIndex)
Index of the cell.
Returns:The horizontal alignment.
Gets the hyperlink info.
public HyperlinkInfo GetHyperlinkInfo(CellIndex cellIndex)
Index of the cell.
Returns:The hyperlink info.
Gets the left border.
public CellBorder GetLeftBorder(CellIndex cellIndex)
Index of the cell.
Returns:Returns the left border.
Gets the previous and the next non empty and non merged cells.
public void GetPreviousNextNonEmptyNonMergedCells(CellIndex cellIndex, out CellLayoutBox previousCellBox, out CellLayoutBox nextCellBox)
Index of the cell.
previousCellBoxCellLayoutBoxThe previous cell box.
nextCellBoxCellLayoutBoxThe next cell box.
Gets the right border.
public CellBorder GetRightBorder(CellIndex cellIndex)
Index of the cell.
Returns:Returns the right border.
Gets the shape which contains a given point of the layout if there is such.
public FloatingShapeBase GetShapeFromPoint(Point point)
The point.
Returns:Returns a shape if such is found, otherwise returns null.
Gets the top border.
public CellBorder GetTopBorder(CellIndex cellIndex)
Index of the cell.
Returns:Returns the top border.
Gets the vertical alignment.
public RadVerticalAlignment GetVerticalAlignment(CellIndex cellIndex)
Index of the cell.
Returns:The vertical alignment.
Gets the visible cell box.
public CellLayoutBox GetVisibleCellBox(CellIndex cellIndex)
Index of the cell.
Returns:The visible cell box.
Gets the visible column layout box.
public ColumnLayoutBox GetVisibleColumnLayoutBox(int columnIndex)
Index of the column.
Returns:The visible column layout box.
Gets the visible row layout box.
public RowLayoutBox GetVisibleRowLayoutBox(int rowIndex)
Index of the row.
Returns:The visible row layout box.