Maximize productivity with
30% off* for a limited time
using BOOSTDEV30.
Includes 3- and 5-packs.
*Some exclusions may apply.New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
[C#]---public MainPage()
{
InitializeComponent();
this.dataGrid.CellRenderers.Remove("ComboBox");
this.dataGrid.CellRenderers.Add("ComboBox", new CustomComboBox());
}
public class CustomComboBox : GridCellComboBoxRenderer
{
public override bool BeginEdit(RowColumnIndex rowColumnIndex, CellElement cellElement, GridColumn column, object rowData)
{
DependencyService.Get<IKeyboardDependency>().ShowKeyboard();
return base.BeginEdit(rowColumnIndex, cellElement, column, rowData);
}
}--- |