Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (48 sloc) 3.16 KB
<Type Name="HandledEventHandler" FullName="System.ComponentModel.HandledEventHandler">
<TypeSignature Language="C#" Value="public delegate void HandledEventHandler(object sender, HandledEventArgs e);" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed HandledEventHandler extends System.MulticastDelegate" />
<TypeSignature Language="DocId" Value="T:System.ComponentModel.HandledEventHandler" />
<TypeSignature Language="VB.NET" Value="Public Delegate Sub HandledEventHandler(sender As Object, e As HandledEventArgs)" />
<TypeSignature Language="C++ CLI" Value="public delegate void HandledEventHandler(System::Object ^ sender, HandledEventArgs ^ e);" />
<TypeSignature Language="F#" Value="type HandledEventHandler = delegate of obj * HandledEventArgs -&gt; unit" />
<AssemblyInfo>
<AssemblyName>System.ComponentModel.TypeConverter</AssemblyName>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters>
<Parameter Name="sender" Type="System.Object" />
<Parameter Name="e" Type="System.ComponentModel.HandledEventArgs" />
</Parameters>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Docs>
<param name="sender">The source of the event.</param>
<param name="e">A <see cref="T:System.ComponentModel.HandledEventArgs" /> that contains the event data.</param>
<summary>Represents a method that can handle events which may or may not require further processing after the event handler has returned.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This delegate is available for use with your own events when the <xref:System.ComponentModel.HandledEventArgs.Handled%2A?displayProperty=nameWithType> property provides sufficient event data. The event handler can set the <xref:System.ComponentModel.HandledEventArgs.Handled%2A> property to `true` if all necessary processing has been completed in the handler.
Typically, events that require this functionality will also require additional event data, and will use a class that derives from <xref:System.ComponentModel.HandledEventArgs> along with a corresponding, similarly-named delegate type. For example, the <xref:System.Windows.Forms.DataGridView.RowPrePaint?displayProperty=nameWithType> event uses the <xref:System.Windows.Forms.DataGridViewRowPrePaintEventArgs> event-data type and the <xref:System.Windows.Forms.DataGridViewRowPrePaintEventHandler> delegate type. Because delegates are not inherited, the <xref:System.ComponentModel.HandledEventHandler> is rarely used.
]]></format>
</remarks>
</Docs>
</Type>
You can’t perform that action at this time.