Class GridComboBoxCellRenderer
Inheritance
System.Object
GridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.TextBlock, Windows.UI.Xaml.Controls.ComboBox>
GridComboBoxCellRenderer
Inherited Members
Namespace: Syncfusion.UI.Xaml.CellGrid.GridCellRenderer
Assembly: Syncfusion.SfCellGrid.UWP.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<Windows.UI.Xaml.Controls.TextBlock, Windows.UI.Xaml.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 | |
Windows.UI.Xaml.RoutedEventArgs | e |
Overrides
Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.TextBlock, Windows.UI.Xaml.Controls.ComboBox>.OnEditElementLoaded(System.Object, Windows.UI.Xaml.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 |
Windows.UI.Xaml.Controls.TextBlock | uiElement | textblock |
GridStyleInfo | style | cellstyle |
System.String | text | display text |
Overrides
Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, Windows.UI.Xaml.Controls.ComboBox>.OnInitializeDisplayElement(Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex, Windows.UI.Xaml.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 |
Windows.UI.Xaml.Controls.ComboBox | uiElement | combobox |
GridStyleInfo | style | cellstyle |
System.String | text | displaytext |
Overrides
Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, Windows.UI.Xaml.Controls.ComboBox>.OnInitializeEditElement(Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex, Windows.UI.Xaml.Controls.ComboBox, Syncfusion.UI.Xaml.CellGrid.Styles.GridStyleInfo, System.String)
OnUnwireEditUIElement(ComboBox)
Declaration
protected override void OnUnwireEditUIElement(ComboBox uiElement)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Controls.ComboBox | uiElement |
Overrides
Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.TextBlock, Windows.UI.Xaml.Controls.ComboBox>.OnUnwireEditUIElement(Windows.UI.Xaml.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 |
Windows.UI.Xaml.Controls.TextBlock | uiElement | combobox |
GridStyleInfo | style | cellstyle |
System.String | text | display text |
Overrides
Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, Windows.UI.Xaml.Controls.ComboBox>.OnUpdateCellStyle(Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex, Windows.UI.Xaml.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 |
Windows.UI.Xaml.Controls.ComboBox | uiElement | Combobox |
GridStyleInfo | style | cellstyle |
System.String | text | display text |
Overrides
Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, Windows.UI.Xaml.Controls.ComboBox>.OnUpdateEditCellStyle(Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex, Windows.UI.Xaml.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(KeyRoutedEventArgs)
Declaration
protected override bool ShouldGridTryToHandleKeyDown(KeyRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.KeyRoutedEventArgs | e |
Returns
Type |
---|
System.Boolean |
Overrides
Implements
System.IDisposable