Class SpreadsheetGrid
Inheritance
System.Object
SpreadsheetGrid
Implements
System.Windows.Controls.Primitives.IScrollInfo
System.IDisposable
Assembly: Syncfusion.Spreadsheet.WPF.ClientProfile.dll
Syntax
public class SpreadsheetGrid : GridControl, IScrollBarProvider, IScrollInfo, IDisposable, IGridPrintPaginator
Constructors
SpreadsheetGrid()
Declaration
Fields
ExcelPropertiesProperty
Declaration
public static readonly DependencyProperty ExcelPropertiesProperty
Field Value
Type |
System.Windows.DependencyProperty |
IsColumnHeadersVisibleProperty
Declaration
public static readonly DependencyProperty IsColumnHeadersVisibleProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
public static readonly DependencyProperty IsRowHeaderVisibleProperty
Field Value
Type |
System.Windows.DependencyProperty |
SheetNameProperty
Declaration
public static readonly DependencyProperty SheetNameProperty
Field Value
Type |
System.Windows.DependencyProperty |
Properties
Declaration
public Brush HeaderBackgroundBrush { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
IsColumnHeadersVisible
Declaration
public bool IsColumnHeadersVisible { get; set; }
Property Value
Declaration
public bool IsRowHeaderVisible { get; set; }
Property Value
Methods
GetTextLength(Int32, Int32)
Gets the length of the text.
Declaration
public double GetTextLength(int row, int col)
Parameters
Type |
Name |
Description |
System.Int32 |
row |
The row.
|
System.Int32 |
col |
The col.
|
Returns
GetTextLength(Int32, Int32, String)
Gets the length of the text.
Declaration
public double GetTextLength(int row, int col, string text)
Parameters
Type |
Name |
Description |
System.Int32 |
row |
The row.
|
System.Int32 |
col |
The col.
|
System.String |
text |
|
Returns
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnCommittedCellInfo(GridCommitCellInfoEventArgs)
Declaration
protected override void OnCommittedCellInfo(GridCommitCellInfoEventArgs e)
Parameters
Overrides
OnCurrentCellEditingComplete(SyncfusionRoutedEventArgs)
Declaration
protected override void OnCurrentCellEditingComplete(SyncfusionRoutedEventArgs e)
Parameters
Overrides
OnCurrentCellMoving(GridCurrentCellMovingEventArgs)
Declaration
protected override void OnCurrentCellMoving(GridCurrentCellMovingEventArgs e)
Parameters
Overrides
OnCurrentCellStartEditing(SyncfusionCancelRoutedEventArgs)
Declaration
protected override void OnCurrentCellStartEditing(SyncfusionCancelRoutedEventArgs e)
Parameters
Overrides
OnCurrentCellValidating(CurrentCellValidatingEventArgs)
Declaration
protected override void OnCurrentCellValidating(CurrentCellValidatingEventArgs e)
Parameters
Overrides
OnLoaded(RoutedEventArgs)
Declaration
protected override void OnLoaded(RoutedEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.RoutedEventArgs |
e |
|
Overrides
OnModelCreated()
Declaration
protected override GridModel OnModelCreated()
Returns
Overrides
OnPrepareRenderCell(GridPrepareRenderCellEventArgs)
Prepare Rendrer scell raised to set HighlightSelectionForeGround
Declaration
protected override void OnPrepareRenderCell(GridPrepareRenderCellEventArgs e)
Parameters
Overrides
Declaration
protected override void OnPreviewKeyDown(KeyEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.KeyEventArgs |
e |
|
Overrides
OnQueryCellInfo(GridQueryCellInfoEventArgs)
Declaration
protected override void OnQueryCellInfo(GridQueryCellInfoEventArgs e)
Parameters
Overrides
OnResizingColumns(GridResizingColumnsEventArgs)
Declaration
protected override void OnResizingColumns(GridResizingColumnsEventArgs args)
Parameters
Overrides
OnResizingRows(GridResizingRowsEventArgs)
Declaration
protected override void OnResizingRows(GridResizingRowsEventArgs args)
Parameters
Overrides
OnShowGridLinesChanged(DependencyPropertyChangedEventArgs)
Declaration
protected override void OnShowGridLinesChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
Overrides
ReadXMLFile(Stream)
Declaration
public BinaryList ReadXMLFile(Stream mStream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
mStream |
|
Returns
SetColumnWidth(Int32, Double)
Declaration
public override void SetColumnWidth(int columnIndex, double size)
Parameters
Type |
Name |
Description |
System.Int32 |
columnIndex |
|
System.Double |
size |
|
Overrides
SetRowHeight(Int32, Double)
Declaration
public override void SetRowHeight(int rowIndex, double size)
Parameters
Type |
Name |
Description |
System.Int32 |
rowIndex |
|
System.Double |
size |
|
Overrides
StringToColor(String)
Convert Strings to color.
Declaration
public static Color StringToColor(string hexaColor)
Parameters
Type |
Name |
Description |
System.String |
hexaColor |
Color of the hexa.
|
Returns
Type |
System.Windows.Media.Color |
Events
ShowGridLinesChanged
Declaration
public event DependencyPropertyChangedEventHandler ShowGridLinesChanged
Event Type
Type |
System.Windows.DependencyPropertyChangedEventHandler |
Implements
System.Windows.Controls.Primitives.IScrollInfo
System.IDisposable
Extension Methods