Class SpreadsheetComboBoxCellRenderer
Inheritance
System.Object
SpreadsheetVirtualizingCellRendererBase<System.Windows.Forms.ComboBox>
SpreadsheetComboBoxCellRenderer
Inherited Members
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.CellRenderer
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class SpreadsheetComboBoxCellRenderer : SpreadsheetVirtualizingCellRendererBase<ComboBox>, ISpreadsheetCellRenderer, IDisposable
Constructors
SpreadsheetComboBoxCellRenderer()
Declaration
public SpreadsheetComboBoxCellRenderer()
Methods
GetControlValue()
Declaration
public override object GetControlValue()
Returns
Type |
---|
System.Object |
Overrides
OnInitializeEditElement(RowColumnIndex, ComboBox, SpreadsheetColumn)
Initialize the edit element of combobox while loading in the grid.
Declaration
protected override void OnInitializeEditElement(RowColumnIndex rowColumnIndex, ComboBox uiElement, SpreadsheetColumn column)
Parameters
Type | Name | Description |
---|---|---|
RowColumnIndex | rowColumnIndex | edit element rowcolumnindex |
System.Windows.Forms.ComboBox | uiElement | combobox |
SpreadsheetColumn | column |
Overrides
Syncfusion.Windows.Forms.Spreadsheet.CellRenderer.SpreadsheetVirtualizingCellRendererBase<System.Windows.Forms.ComboBox>.OnInitializeEditElement(Syncfusion.Windows.Forms.CellGrid.ScrollAxis.RowColumnIndex, System.Windows.Forms.ComboBox, Syncfusion.Windows.Forms.Spreadsheet.SpreadsheetColumn)
OnRender(SpreadsheetPaint, Rectangle, Rectangle, SpreadsheetColumn)
Declaration
protected override void OnRender(SpreadsheetPaint paint, Rectangle cellRect, Rectangle clipRect, SpreadsheetColumn column)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetPaint | paint | |
System.Drawing.Rectangle | cellRect | |
System.Drawing.Rectangle | clipRect | |
SpreadsheetColumn | column |
Overrides
OnSaveChanges()
save the modified text into the specified range.
Declaration
protected override void OnSaveChanges()
Overrides
OnUnwireEditUIElement(ComboBox)
UnHook the required editelement events from this method.
Declaration
protected override void OnUnwireEditUIElement(ComboBox uiElement)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.ComboBox | uiElement |
Overrides
Syncfusion.Windows.Forms.Spreadsheet.CellRenderer.SpreadsheetVirtualizingCellRendererBase<System.Windows.Forms.ComboBox>.OnUnwireEditUIElement(System.Windows.Forms.ComboBox)
OnUpdateEditElement(Control, Rectangle, SpreadsheetColumn)
Declaration
protected override void OnUpdateEditElement(Control element, Rectangle rect, SpreadsheetColumn column)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | element | |
System.Drawing.Rectangle | rect | |
SpreadsheetColumn | column |
Overrides
OnWireEditUIElement(ComboBox)
Hook the required editelement events from this method.
Declaration
protected override void OnWireEditUIElement(ComboBox uiElement)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.ComboBox | uiElement |
Overrides
Syncfusion.Windows.Forms.Spreadsheet.CellRenderer.SpreadsheetVirtualizingCellRendererBase<System.Windows.Forms.ComboBox>.OnWireEditUIElement(System.Windows.Forms.ComboBox)
ShouldGridTryToHandleKeyDown(KeyEventArgs)
Declaration
protected override bool ShouldGridTryToHandleKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.KeyEventArgs | e |
Returns
Type |
---|
System.Boolean |
Overrides
Implements
System.IDisposable