Class Worksheet
A two-dimensional grid of cells that are organized into rows and columns.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class Worksheet : Sheet, INotifyPropertyChanged, ISheet, IDisposable
Properties
Cells
Gets the cells of the worksheet.
Declaration
public Cells Cells { get; }
Property Value
Cells
The cells of the worksheet. |
Charts
Gets the collection of charts inserted in the current worksheet.
Declaration
public ChartCollection Charts { get; }
Property Value
Chart The charts. |
Columns
Gets the columns of the worksheet.
Declaration
public Columns Columns { get; }
Property Value
Columns
The columns of the worksheet. |
Comments
Gets the collection of comments inserted in the current worksheet.
Declaration
public CommentCollection Comments { get; }
Property Value
Comment The comments. |
DefaultColumnWidth
Gets or sets the default width of the column.
Declaration
public ColumnWidth DefaultColumnWidth { get; set; }
Property Value
Column The default width of the column. |
DefaultRowHeight
Gets or sets the default height of the row.
Declaration
public RowHeight DefaultRowHeight { get; set; }
Property Value
Row The default height of the row. |
Filter
Gets the filtering of the worksheet.
Declaration
public AutoFilter Filter { get; }
Property Value
Auto The filtering of the worksheet. |
GroupingProperties
Gets the grouping properties for the worksheet.
Declaration
public GroupingProperties GroupingProperties { get; }
Property Value
Grouping The grouping properties. |
HeaderNameRenderingConverter
Gets or sets the header name rendering converter.
Declaration
public HeaderNameRenderingConverterBase HeaderNameRenderingConverter { get; set; }
Property Value
Header The header name rendering converter. |
Hyperlinks
Gets the all hyperlinks in the worksheet.
Declaration
public HyperlinkCollection Hyperlinks { get; }
Property Value
Hyperlink The hyperlinks. |
Images
Gets the collection of images inserted in the current worksheet.
Declaration
public ImageCollection Images { get; }
Property Value
Image The images. |
Names
Gets the collection of defined names of the worksheet.
Declaration
public NameCollection Names { get; }
Property Value
Name The collection of defined names of the worksheet. |
Notes
Gets the collection of notes inserted in the current worksheet.
Declaration
public NoteCollection Notes { get; }
Property Value
Note The notes. |
ProtectionOptions
Gets or sets the protection options.
Declaration
public WorksheetProtectionOptions ProtectionOptions { get; }
Property Value
Worksheet The protection options. |
Rows
Gets the rows of the worksheet.
Declaration
public Rows Rows { get; }
Property Value
Rows
The rows of the worksheet. |
SheetPageSetup
Gets the sheet page setup.
Declaration
protected override sealed SheetPageSetupBase SheetPageSetup { get; }
Property Value
Sheet The sheet page setup. |
Overrides
SortState
Gets the sort state.
Declaration
public SortState SortState { get; }
Property Value
Sort The sort state. |
Type
Gets the type of the sheet.
Declaration
public override SheetType Type { get; }
Property Value
Sheet The type of the sheet. |
Overrides
UsedCellRange
Gets the used cell range.
Declaration
public CellRange UsedCellRange { get; }
Property Value
Cell The used cell range. |
ViewState
Gets the view state of the worksheet.
Declaration
public WorksheetViewState ViewState { get; }
Property Value
Worksheet The view state of the worksheet. |
WorksheetPageSetup
Gets the worksheet page setup.
Declaration
public WorksheetPageSetup WorksheetPageSetup { get; }
Property Value
Worksheet The worksheet page setup. |
Methods
CopyFrom(Worksheet)
Copies Worksheet contents from a source Worksheet into this instance. This Worksheet instance contents are overridden from the source Worksheet contents.
Declaration
public void CopyFrom(Worksheet sourceWorksheet)
Parameters
Worksheet
sourceWorksheet
The worksheet to copy from. |
CreateViewState()
Creates the state of the view.
Declaration
protected override ISheetViewState CreateViewState()
Returns
Overrides
Dispose(Boolean)
Disposes the specified disposing.
Declaration
protected override void Dispose(bool disposing)
Parameters
System. The disposing. |
Overrides
Find(FindOptions)
Executes find action according to the specified find options.
Declaration
public FindResult Find(FindOptions findOptions)
Parameters
Find The find options. |
Returns
Find The find results. |
FindAll(FindOptions)
Executes find all action according to the specified find options.
Declaration
public IEnumerable<FindResult> FindAll(FindOptions findOptions)
Parameters
Find The find options. |
Returns
System. The find results. |
GetUsedCellRange(IEnumerable<IPropertyDefinition>)
Gets the used cell range for specific cell property definitions.
Declaration
public CellRange GetUsedCellRange(IEnumerable<IPropertyDefinition> propertyDefinitions)
Parameters
System. The cell property definitions from Cell |
Returns
Cell The used cell range for specific cell property definitions. |
GetUsedCellRange(IPropertyDefinition)
Gets the used cell range for a specific cell property definition.
Declaration
public CellRange GetUsedCellRange(IPropertyDefinition propertyDefinition)
Parameters
IProperty The cell property definition from Cell |
Returns
Cell The used cell range for specific cell property definitions. |
Protect(String, WorksheetProtectionOptions)
Protects the worksheet.
Declaration
public void Protect(string password, WorksheetProtectionOptions options)
Parameters
System. The password. |
Worksheet The protection options of the worksheet. |
Replace(ReplaceOptions)
Executes replace action according to the specified replace options.
Declaration
public bool Replace(ReplaceOptions replaceOptions)
Parameters
Replace The replace options. |
Returns
System. The value indicating whether a value was found to replace. |
ReplaceAll(ReplaceOptions)
Executes replace all action according to the specified replace options.
Declaration
public int ReplaceAll(ReplaceOptions replaceOptions)
Parameters
Replace The replace options. |
Returns
System. The number of replacements made. |
Unprotect(String)
Unprotects the worksheet.
Declaration
public bool Unprotect(string password)
Parameters
System. The password. |
Returns
System.
|