DataRepeaterItem.OnPreviewKeyDown Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
The DataRepeaterItem object is used internally by the DataRepeater control to display data at run time. The settings of the ItemTemplate determine how the data is displayed.
Namespace: Microsoft.VisualBasic.PowerPacks
Assembly: Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)
Syntax
'Declaration
<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags := SecurityPermissionFlag.UnmanagedCode)> _
Protected Overrides Sub OnPreviewKeyDown ( _
e As PreviewKeyDownEventArgs _
)
'Usage
Dim e As PreviewKeyDownEventArgs
Me.OnPreviewKeyDown(e)
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
protected override void OnPreviewKeyDown(
PreviewKeyDownEventArgs e
)
[SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::UnmanagedCode)]
protected:
virtual void OnPreviewKeyDown(
PreviewKeyDownEventArgs^ e
) override
protected override function OnPreviewKeyDown(
e : PreviewKeyDownEventArgs
)
Parameters
e
Type: System.Windows.Forms.PreviewKeyDownEventArgsThe PreviewKeyDownEventArgs for the event.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualBasic.PowerPacks Namespace