GrapeCity.Win.MultiRow Namespace > IEditingCell Interface : WantsInputKey Method |
Dim instance As IEditingCell Dim keyData As Keys Dim value As Boolean value = instance.WantsInputKey(keyData)
public bool WantsInputKey(Keys keyData) { // Tell MultiRow control that the cell will handle '+','-', and left, right key in edit mode. if (keyData == Keys.Add || keyData == Keys.Subtract || keyData == Keys.Left || keyData == Keys.Right) { return true; } return false; }
Public Function WantsInputKey(ByVal keyData As Keys) As Boolean Implements IEditingCell.WantsInputKey ' Tell MultiRow that the cell will handle '+','-', and left, right key in edit mode. If keyData = Keys.Add OrElse keyData = Keys.Subtract OrElse keyData = Keys.Left OrElse keyData = Keys.Right Then Return True End If Return False End Function
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2