Class SpreadsheetQueryRangeEventArgs
Represents the class which holds the properties of the QueryRange event.
Inheritance
System.Object
System.EventArgs
SpreadsheetQueryRangeEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Spreadsheet.Helpers
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public sealed class SpreadsheetQueryRangeEventArgs : GridHandledEventArgs
Constructors
SpreadsheetQueryRangeEventArgs(RowColumnIndex, String, Object, IWorksheet, IRange, IStyle)
Initializes a new instance of the SpreadsheetQueryRangeEventArgs class.
Declaration
public SpreadsheetQueryRangeEventArgs(RowColumnIndex cell, string celltype, object value, IWorksheet sheet, IRange range, IStyle style)
Parameters
Type | Name | Description |
---|---|---|
RowColumnIndex | cell | Coordinates of a cell. |
System.String | celltype | Type of cell. |
System.Object | value | The value of the cell. |
IWorksheet | sheet | The current worksheet. |
IRange | range | The XlsIO range of the sheet. |
IStyle | style | A style description for the specified range. |
Properties
Cell
Gets the value indicating the instance of RowColumnIndex of cell.
Declaration
public RowColumnIndex Cell { get; }
Property Value
Type | Description |
---|---|
RowColumnIndex | An instance of RowColumnIndex. |
CellType
Gets or sets the type of the cell.
Declaration
public string CellType { get; set; }
Property Value
Type | Description |
---|---|
System.String | Cell Type. |
CellValue
Gets or sets the value of the specified cell.
Declaration
public object CellValue { get; set; }
Property Value
Type | Description |
---|---|
System.Object | Value of cell. |
ExcelRange
Gets the IRange of the cell.
Declaration
public IRange ExcelRange { get; }
Property Value
Type | Description |
---|---|
IRange | An instance of IRange. |
ExcelStyle
Gets the IStyle of the cell.
Declaration
public IStyle ExcelStyle { get; }
Property Value
Type | Description |
---|---|
IStyle | An instance of IStyle. |
Worksheet
Gets the IWorksheet of the cell.
Declaration
public IWorksheet Worksheet { get; }
Property Value
Type | Description |
---|---|
IWorksheet | An instance of the IWorksheet. |