Class ColumnSelection
Represents a column selection.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class ColumnSelection : RowColumnSelectionBase
Methods
AutoFitWidth()
Automatically adjusts the width.
Declaration
public void AutoFitWidth()
ClearHidden()
Clears the hidden property.
Declaration
public void ClearHidden()
ClearWidth()
Clears the width.
Declaration
public void ClearWidth()
ExpandToFitNumberValuesWidth()
Expands the width of to fit the width of the number value.
Declaration
public void ExpandToFitNumberValuesWidth()
GetFromToIndexFromRange(CellRange, out Int32, out Int32)
Gets from to index from range.
Declaration
protected override void GetFromToIndexFromRange(CellRange cellRange, out int fromIndex, out int toIndex)
Parameters
|
CellRange
cellRange
The cell range. |
|
System.Int32
fromIndex
From index. |
|
System.Int32
toIndex
To index. |
Overrides
GetHidden()
Gets the value of the hidden property.
Declaration
public RangePropertyValue<bool> GetHidden()
Returns
|
RangePropertyValue<System.Boolean>
The value of the hidden property |
GetOutlineLevel()
Gets the outline level.
Declaration
public override RangePropertyValue<int> GetOutlineLevel()
Returns
|
RangePropertyValue<System.Int32>
The outline level. |
Overrides
GetWidth()
Gets the width of the selection.
Declaration
public RangePropertyValue<ColumnWidth> GetWidth()
Returns
|
RangePropertyValue<ColumnWidth>
The width for the selection. |
Insert()
Inserts this instance in the workbook.
Declaration
public bool Insert()
Returns
|
System.Boolean
The value indicating whether the insert was successful. |
Remove()
Removes this instance from the workbook.
Declaration
public void Remove()
SetBorders(CellBorders)
Sets the borders.
Declaration
public override void SetBorders(CellBorders value)
Parameters
|
CellBorders
value
The value. |
Overrides
SetHidden(Boolean)
Sets the hidden property.
Declaration
public void SetHidden(bool value)
Parameters
|
System.Boolean
value
The value indicating whether the selected columns are hidden. |
SetWidth(ColumnWidth)
Sets the width.
Declaration
public void SetWidth(ColumnWidth value)
Parameters
|
ColumnWidth
value
The value. |