SpreadsheetGear.Windows.Forms Namespace > FormulaBar Class : IsInputKey Method |
'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 FormulaBar 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 )
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