Processes a dialog key.
Syntax
Visual Basic (Declaration) | |
---|
<UIPermissionAttribute(Window=UIPermissionWindow.SafeSubWindows Or _
UIPermissionWindow.SafeTopLevelWindows Or _
UIPermissionWindow.AllWindows,
Clipboard=UIPermissionClipboard.NoClipboard,
Action=SecurityAction.Demand Or _
SecurityAction.Deny Or _
SecurityAction.LinkDemand,
Unrestricted=False)>
<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 ProcessDialogKey( _
ByVal keyData As Keys _
) As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Medical3DControl
Dim keyData As Keys
Dim value As Boolean
value = instance.ProcessDialogKey(keyData) |
C# | |
---|
[UIPermissionAttribute(Window=UIPermissionWindow.SafeSubWindows |
UIPermissionWindow.SafeTopLevelWindows |
UIPermissionWindow.AllWindows,
Clipboard=UIPermissionClipboard.NoClipboard,
Action=SecurityAction.Demand |
SecurityAction.Deny |
SecurityAction.LinkDemand,
Unrestricted=false)]
[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=false)]
protected virtual bool ProcessDialogKey(
Keys keyData
) |
C++/CLI | |
---|
[UIPermissionAttribute(Window=UIPermissionWindow.SafeSubWindows |
UIPermissionWindow.SafeTopLevelWindows |
UIPermissionWindow.AllWindows,
Clipboard=UIPermissionClipboard.NoClipboard,
Action=SecurityAction.Demand |
SecurityAction.Deny |
SecurityAction.LinkDemand,
Unrestricted=false)]
[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=false)]
protected:
virtual bool ProcessDialogKey(
Keys keyData
) |
Parameters
- keyData
- One of the System.Windows.Forms.Keys values that represents the key to process.
Return Value
true if the key was processed by the control; otherwise, false.
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also