SpreadsheetGear 2012
IsInputKey Method (RangeExplorer)






Syntax
'Declaration
 
<System.Security.Permissions.UIPermissionAttribute(Window=UIPermissionWindow.SafeSubWindows Or  _
    UIPermissionWindow.SafeTopLevelWindows Or  _
    UIPermissionWindow.AllWindows, 
   Clipboard=UIPermissionClipboard.NoClipboard, 
   Action=SecurityAction.Demand Or  _
    SecurityAction.Assert Or  _
    SecurityAction.Deny Or  _
    SecurityAction.PermitOnly Or  _
    SecurityAction.LinkDemand Or  _
    SecurityAction.InheritanceDemand, 
   Unrestricted=False)>
Protected Overridable Function IsInputKey( _
   ByVal keyData As System.Windows.Forms.Keys _
) As System.Boolean
'Usage
 
Dim instance As RangeExplorer
Dim keyData As System.Windows.Forms.Keys
Dim value As System.Boolean
 
value = instance.IsInputKey(keyData)
[System.Security.Permissions.UIPermission(Window=UIPermissionWindow.SafeSubWindows | 
    UIPermissionWindow.SafeTopLevelWindows | 
    UIPermissionWindow.AllWindows, 
   Clipboard=UIPermissionClipboard.NoClipboard, 
   Action=SecurityAction.Demand | 
    SecurityAction.Assert | 
    SecurityAction.Deny | 
    SecurityAction.PermitOnly | 
    SecurityAction.LinkDemand | 
    SecurityAction.InheritanceDemand, 
   Unrestricted=false)]
protected virtual System.bool IsInputKey( 
   System.Windows.Forms.Keys keyData
)
protected function IsInputKey( 
    keyData: System.Windows.Forms.Keys
): System.Boolean; virtual; 
System.Security.Permissions.UIPermissionAttribute(Window=UIPermissionWindow.SafeSubWindows | 
    UIPermissionWindow.SafeTopLevelWindows | 
    UIPermissionWindow.AllWindows, 
   Clipboard=UIPermissionClipboard.NoClipboard, 
   Action=SecurityAction.Demand | 
    SecurityAction.Assert | 
    SecurityAction.Deny | 
    SecurityAction.PermitOnly | 
    SecurityAction.LinkDemand | 
    SecurityAction.InheritanceDemand, 
   Unrestricted=)
protected function IsInputKey( 
   keyData : System.Windows.Forms.Keys
) : System.boolean;
[System.Security.Permissions.UIPermission(Window=UIPermissionWindow.SafeSubWindows | 
    UIPermissionWindow.SafeTopLevelWindows | 
    UIPermissionWindow.AllWindows, 
   Clipboard=UIPermissionClipboard.NoClipboard, 
   Action=SecurityAction.Demand | 
    SecurityAction.Assert | 
    SecurityAction.Deny | 
    SecurityAction.PermitOnly | 
    SecurityAction.LinkDemand | 
    SecurityAction.InheritanceDemand, 
   Unrestricted=false)]
protected: virtual System.bool IsInputKey( 
   System.Windows.Forms.Keys keyData
) 
[System.Security.Permissions.UIPermission(Window=UIPermissionWindow.SafeSubWindows | 
    UIPermissionWindow.SafeTopLevelWindows | 
    UIPermissionWindow.AllWindows, 
   Clipboard=UIPermissionClipboard.NoClipboard, 
   Action=SecurityAction.Demand | 
    SecurityAction.Assert | 
    SecurityAction.Deny | 
    SecurityAction.PermitOnly | 
    SecurityAction.LinkDemand | 
    SecurityAction.InheritanceDemand, 
   Unrestricted=false)]
protected:
virtual System.bool IsInputKey( 
   System.Windows.Forms.Keys keyData
) 

Parameters

keyData
Requirements

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

See Also

Reference

RangeExplorer Class
RangeExplorer Members

Send Feedback