Class GridComboBoxCellRenderer
Inheritance
System.Object
GridVirtualizingCellRendererBase<System.Windows.Controls.TextBlock, System.Windows.Controls.ComboBox>
GridComboBoxCellRenderer
Inherited Members
Namespace: Syncfusion.UI.Xaml.CellGrid.GridCellRenderer
Assembly: Syncfusion.SfCellGrid.WPF.dll
Syntax
public class GridComboBoxCellRenderer : GridVirtualizingCellRenderer<TextBlock, ComboBox>, IGridCellRenderer, IDisposable
Constructors
GridComboBoxCellRenderer()
Declaration
public GridComboBoxCellRenderer()
Methods
GetControlValue()
Declaration
public override object GetControlValue()
Returns
Type |
---|
System.Object |
Overrides
GetFormattedText(GridStyleInfo)
Declaration
public override string GetFormattedText(GridStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
GridStyleInfo | style |
Returns
Type |
---|
System.String |
Overrides
Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRenderer<System.Windows.Controls.TextBlock, System.Windows.Controls.ComboBox>.GetFormattedText(Syncfusion.UI.Xaml.CellGrid.Styles.GridStyleInfo)
OnEditElementLoaded(Object, RoutedEventArgs)
Declaration
protected override void OnEditElementLoaded(object sender, RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | |
System.Windows.RoutedEventArgs | e |
Overrides
Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRendererBase<System.Windows.Controls.TextBlock, System.Windows.Controls.ComboBox>.OnEditElementLoaded(System.Object, System.Windows.RoutedEventArgs)
OnInitializeDisplayElement(RowColumnIndex, TextBlock, GridStyleInfo, String)
Initialize the display value of combobox cell renderer.
Declaration
protected override void OnInitializeDisplayElement(RowColumnIndex rowColumnIndex, TextBlock uiElement, GridStyleInfo style, string text)
Parameters
Type | Name | Description |
---|---|---|
RowColumnIndex | rowColumnIndex | initializing element rowindex and column index |
System.Windows.Controls.TextBlock | uiElement | textblock |
GridStyleInfo | style | cellstyle |
System.String | text | display text |
Overrides
Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRenderer<System.Windows.Controls.TextBlock, System.Windows.Controls.ComboBox>.OnInitializeDisplayElement(Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex, System.Windows.Controls.TextBlock, Syncfusion.UI.Xaml.CellGrid.Styles.GridStyleInfo, System.String)
OnInitializeEditElement(RowColumnIndex, ComboBox, GridStyleInfo, String)
Initialize the edit element of combobox while loading in the grid.
Declaration
protected override void OnInitializeEditElement(RowColumnIndex rowColumnIndex, ComboBox uiElement, GridStyleInfo style, string text)
Parameters
Type | Name | Description |
---|---|---|
RowColumnIndex | rowColumnIndex | edit element rowcolumnindex |
System.Windows.Controls.ComboBox | uiElement | combobox |
GridStyleInfo | style | cellstyle |
System.String | text | displaytext |
Overrides
Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRenderer<System.Windows.Controls.TextBlock, System.Windows.Controls.ComboBox>.OnInitializeEditElement(Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex, System.Windows.Controls.ComboBox, Syncfusion.UI.Xaml.CellGrid.Styles.GridStyleInfo, System.String)
OnUnwireEditUIElement(ComboBox)
Declaration
protected override void OnUnwireEditUIElement(ComboBox uiElement)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.ComboBox | uiElement |
Overrides
Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRendererBase<System.Windows.Controls.TextBlock, System.Windows.Controls.ComboBox>.OnUnwireEditUIElement(System.Windows.Controls.ComboBox)
OnUpdateCellStyle(RowColumnIndex, TextBlock, GridStyleInfo, String)
Update the display element while scrolling the grid.
Declaration
protected override void OnUpdateCellStyle(RowColumnIndex cellRowColumnIndex, TextBlock uiElement, GridStyleInfo style, string text)
Parameters
Type | Name | Description |
---|---|---|
RowColumnIndex | cellRowColumnIndex | cellRowColumnIndex of updating cell |
System.Windows.Controls.TextBlock | uiElement | combobox |
GridStyleInfo | style | cellstyle |
System.String | text | display text |
Overrides
Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRenderer<System.Windows.Controls.TextBlock, System.Windows.Controls.ComboBox>.OnUpdateCellStyle(Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex, System.Windows.Controls.TextBlock, Syncfusion.UI.Xaml.CellGrid.Styles.GridStyleInfo, System.String)
OnUpdateEditCellStyle(RowColumnIndex, ComboBox, GridStyleInfo, String)
Updates the edit elements while scrolling the grid.
Declaration
protected override void OnUpdateEditCellStyle(RowColumnIndex cellRowColumnIndex, ComboBox uiElement, GridStyleInfo style, string text)
Parameters
Type | Name | Description |
---|---|---|
RowColumnIndex | cellRowColumnIndex | cellRowColumnIndex |
System.Windows.Controls.ComboBox | uiElement | Combobox |
GridStyleInfo | style | cellstyle |
System.String | text | display text |
Overrides
Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRenderer<System.Windows.Controls.TextBlock, System.Windows.Controls.ComboBox>.OnUpdateEditCellStyle(Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex, System.Windows.Controls.ComboBox, Syncfusion.UI.Xaml.CellGrid.Styles.GridStyleInfo, System.String)
SetControlValue(Object)
Declaration
public override bool SetControlValue(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
Returns
Type |
---|
System.Boolean |
Overrides
ShouldGridTryToHandleKeyDown(KeyEventArgs)
Declaration
protected override bool ShouldGridTryToHandleKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyEventArgs | e |
Returns
Type |
---|
System.Boolean |
Overrides
Implements
System.IDisposable