Class Columns
Represents a collection of columns.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class Columns : RowsColumnsBase
Properties
Count
Gets the row / column count.
Declaration
public override int Count { get; }
Property Value
System. The row / column count. |
Overrides
Item[IEnumerable<CellRange>]
Gets the Column
Declaration
public ColumnSelection this[IEnumerable<CellRange> cellRanges] { get; }
Parameters
System.
|
Property Value
Column The column selection. |
Item[Int32]
Gets the Column
Declaration
public ColumnSelection this[int index] { get; }
Parameters
System.
|
Property Value
Column The column selection. |
Item[Int32, Int32]
Gets the Column
Declaration
public ColumnSelection this[int fromIndex, int toIndex] { get; }
Parameters
System.
|
System.
|
Property Value
Column The column selection. |
Item[CellIndex]
Gets the Column
Declaration
public ColumnSelection this[CellIndex cellIndex] { get; }
Parameters
Cell
|
Property Value
Column The column selection. |
Item[CellRange]
Gets the Column
Declaration
public ColumnSelection this[CellRange cellRange] { get; }
Parameters
Cell
|
Property Value
Column The column selection. |
Methods
CanInsert(Int32, Int32)
Determines whether this instance can be inserted at the specified index.
Declaration
public override bool CanInsert(int index, int itemCount)
Parameters
System. The index. |
System. The item count. |
Returns
System. The value indicating whether this instance can be inserted at the specified index |
Overrides
GetColumnSelection(IEnumerable<CellRange>)
Gets a column selection of a specified collection of cell ranges.
Declaration
public ColumnSelection GetColumnSelection(IEnumerable<CellRange> cellRanges)
Parameters
System. The cell ranges. |
Returns
Column The column selection. |
GetColumnSelection(Int32)
Gets a column selection at the specified index.
Declaration
public ColumnSelection GetColumnSelection(int index)
Parameters
System. The index. |
Returns
Column The column selection. |
GetColumnSelection(Int32, Int32)
Gets a column selection between two indices.
Declaration
public ColumnSelection GetColumnSelection(int fromIndex, int toIndex)
Parameters
System. From index. |
System. To index. |
Returns
Column The column selection. |
GetColumnSelection(CellIndex)
Gets a column selection at the specified index.
Declaration
public ColumnSelection GetColumnSelection(CellIndex cellIndex)
Parameters
Cell Index of the cell. |
Returns
Column The column selection. |
GetColumnSelection(CellRange)
Gets a column selection of a specified cell range.
Declaration
public ColumnSelection GetColumnSelection(CellRange cellRange)
Parameters
Cell The cell range. |
Returns
Column The column selection. |
GetDefaultWidth()
Gets the default width.
Declaration
public ColumnWidth GetDefaultWidth()
Returns
Column The column width |
InsertOverride(Int32, Int32)
Inserts the override.
Declaration
protected override bool InsertOverride(int index, int itemCount)
Parameters
System. The index. |
System. The item count. |
Returns
System.
|
Overrides
RemoveOverride(Int32, Int32)
Removes the override.
Declaration
protected override void RemoveOverride(int index, int itemCount)
Parameters
System. The index. |
System. The item count. |
Overrides
SetDefaultWidth(ColumnWidth)
Sets the default width.
Declaration
public void SetDefaultWidth(ColumnWidth width)
Parameters
Column The width. |
Events
ColumnsWidthChanged
Occurs when the columns' widths have changed.
Declaration
public event EventHandler<RowColumnPropertyChangedEventArgs> ColumnsWidthChanged
Event Type
System.
|