Class GridCellComboBoxCellRenderer
Renders a combobox control in a grid cell.
Inheritance
System.Object
GridCellComboBoxCellRenderer
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridCellComboBoxCellRenderer : GridCellDropDownCellRenderer<GridCellComboBoxDropDown>, IGridCellRenderer, ICellRenderer, IHitTestSelectCells, IStyleChanged, IDisposable, IAllowKeepAliveOnlyCurrentCell
Constructors
GridCellComboBoxCellRenderer()
Initializes a new GridCellComboBoxCellRenderer.
Declaration
public GridCellComboBoxCellRenderer()
Fields
UseAutoCompleteList
Declaration
public bool UseAutoCompleteList
Field Value
Type |
---|
System.Boolean |
Properties
ControlValue
Declaration
public override object ControlValue { get; set; }
Property Value
Type |
---|
System.Object |
Overrides
Methods
ArrangeUIElement(ArrangeCellArgs, GridCellComboBoxDropDown, GridRenderStyleInfo)
Declaration
protected override void ArrangeUIElement(ArrangeCellArgs aca, GridCellComboBoxDropDown uiElement, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
ArrangeCellArgs | aca | |
GridCellComboBoxDropDown | uiElement | |
GridRenderStyleInfo | style |
Overrides
Syncfusion.Windows.Controls.Grid.GridCellDropDownCellRenderer<Syncfusion.Windows.Controls.Grid.GridCellComboBoxDropDown>.ArrangeUIElement(Syncfusion.Windows.Controls.Cells.ArrangeCellArgs, Syncfusion.Windows.Controls.Grid.GridCellComboBoxDropDown, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
GenerateAutoCompleteList(Object)
Defines and Updates Itemsource for the Dropdown List, for every Keystroke for Incremental Filtering
Declaration
protected void GenerateAutoCompleteList(object sender)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender |
GetControlValueFromEditor()
Declaration
protected override object GetControlValueFromEditor()
Returns
Type |
---|
System.Object |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Controls.Grid.GridCellComboBoxDropDown>.GetControlValueFromEditor()
OnActivated()
Declaration
protected override void OnActivated()
Overrides
Syncfusion.Windows.Controls.Grid.GridCellDropDownCellRenderer<Syncfusion.Windows.Controls.Grid.GridCellComboBoxDropDown>.OnActivated()
OnClipboardPasted(GridCutPasteEventArgs)
This event after clipboard paste
Declaration
protected override void OnClipboardPasted(GridCutPasteEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
GridCutPasteEventArgs | args |
Overrides
OnDeactivated()
Declaration
protected override void OnDeactivated()
Overrides
Syncfusion.Windows.Controls.Grid.GridCellDropDownCellRenderer<Syncfusion.Windows.Controls.Grid.GridCellComboBoxDropDown>.OnDeactivated()
OnEnteredEditMode()
Declaration
protected override void OnEnteredEditMode()
Overrides
Syncfusion.Windows.Controls.Grid.GridCellDropDownCellRenderer<Syncfusion.Windows.Controls.Grid.GridCellComboBoxDropDown>.OnEnteredEditMode()
OnInitializeContent(GridCellComboBoxDropDown, GridRenderStyleInfo)
Initializes the content of the combobox cell using the information from the cell style (value, text, behavior etc.).
Declaration
public override void OnInitializeContent(GridCellComboBoxDropDown dropDownControl, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
GridCellComboBoxDropDown | dropDownControl | The combobox control. |
GridRenderStyleInfo | style | The cell style info. |
Overrides
Syncfusion.Windows.Controls.Grid.GridCellDropDownCellRenderer<Syncfusion.Windows.Controls.Grid.GridCellComboBoxDropDown>.OnInitializeContent(Syncfusion.Windows.Controls.Grid.GridCellComboBoxDropDown, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
OnIsDropDownOpenChanged(Object, EventArgs)
Declaration
protected override void OnIsDropDownOpenChanged(object sender, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | |
System.EventArgs | e |
Overrides
Syncfusion.Windows.Controls.Grid.GridCellDropDownCellRenderer<Syncfusion.Windows.Controls.Grid.GridCellComboBoxDropDown>.OnIsDropDownOpenChanged(System.Object, System.EventArgs)
OnTextBoxPartPreviewKeyDown(Object, KeyEventArgs)
OnTextBoxPartPreviewKeyDown is used to handle Backspace and Delete Keys, for Incremental Filtering
Declaration
protected override void OnTextBoxPartPreviewKeyDown(object sender, KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | |
System.Windows.Input.KeyEventArgs | e |
Overrides
Syncfusion.Windows.Controls.Grid.GridCellDropDownCellRenderer<Syncfusion.Windows.Controls.Grid.GridCellComboBoxDropDown>.OnTextBoxPartPreviewKeyDown(System.Object, System.Windows.Input.KeyEventArgs)
OnTextBoxPartTextChanged(Object, TextChangedEventArgs)
Declaration
protected override void OnTextBoxPartTextChanged(object sender, TextChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | |
System.Windows.Controls.TextChangedEventArgs | e |
Overrides
Syncfusion.Windows.Controls.Grid.GridCellDropDownCellRenderer<Syncfusion.Windows.Controls.Grid.GridCellComboBoxDropDown>.OnTextBoxPartTextChanged(System.Object, System.Windows.Controls.TextChangedEventArgs)
SetHighlightedItem(Int32)
Declaration
protected void SetHighlightedItem(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
SetSelectedIndex(Int32)
Declaration
protected override void SetSelectedIndex(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Overrides
Syncfusion.Windows.Controls.Grid.GridCellDropDownCellRenderer<Syncfusion.Windows.Controls.Grid.GridCellComboBoxDropDown>.SetSelectedIndex(System.Int32)
ShouldGridTryToHandlePreviewKeyDown(KeyEventArgs)
Declaration
protected override bool ShouldGridTryToHandlePreviewKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyEventArgs | e |
Returns
Type |
---|
System.Boolean |
Overrides
Syncfusion.Windows.Controls.Grid.GridCellDropDownCellRenderer<Syncfusion.Windows.Controls.Grid.GridCellComboBoxDropDown>.ShouldGridTryToHandlePreviewKeyDown(System.Windows.Input.KeyEventArgs)
UnwireTemplateParts(GridCellComboBoxDropDown)
Declaration
protected override void UnwireTemplateParts(GridCellComboBoxDropDown uiElement)
Parameters
Type | Name | Description |
---|---|---|
GridCellComboBoxDropDown | uiElement |
Overrides
Syncfusion.Windows.Controls.Grid.GridCellDropDownCellRenderer<Syncfusion.Windows.Controls.Grid.GridCellComboBoxDropDown>.UnwireTemplateParts(Syncfusion.Windows.Controls.Grid.GridCellComboBoxDropDown)
WireTemplateParts(GridCellComboBoxDropDown)
Declaration
protected override void WireTemplateParts(GridCellComboBoxDropDown uiElement)
Parameters
Type | Name | Description |
---|---|---|
GridCellComboBoxDropDown | uiElement |
Overrides
Syncfusion.Windows.Controls.Grid.GridCellDropDownCellRenderer<Syncfusion.Windows.Controls.Grid.GridCellComboBoxDropDown>.WireTemplateParts(Syncfusion.Windows.Controls.Grid.GridCellComboBoxDropDown)
Implements
System.IDisposable