Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (38 sloc) 2.85 KB
<Type Name="MaskInputRejectedEventHandler" FullName="System.Windows.Forms.MaskInputRejectedEventHandler">
<TypeSignature Language="C#" Value="public delegate void MaskInputRejectedEventHandler(object sender, MaskInputRejectedEventArgs e);" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed MaskInputRejectedEventHandler extends System.MulticastDelegate" />
<TypeSignature Language="DocId" Value="T:System.Windows.Forms.MaskInputRejectedEventHandler" />
<TypeSignature Language="VB.NET" Value="Public Delegate Sub MaskInputRejectedEventHandler(sender As Object, e As MaskInputRejectedEventArgs)" />
<TypeSignature Language="C++ CLI" Value="public delegate void MaskInputRejectedEventHandler(System::Object ^ sender, MaskInputRejectedEventArgs ^ e);" />
<TypeSignature Language="F#" Value="type MaskInputRejectedEventHandler = delegate of obj * MaskInputRejectedEventArgs -&gt; unit" />
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters>
<Parameter Name="sender" Type="System.Object" />
<Parameter Name="e" Type="System.Windows.Forms.MaskInputRejectedEventArgs" />
</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.Windows.Forms.MaskInputRejectedEventArgs" /> that contains the event data.</param>
<summary>Represents the method that will handle the <see cref="E:System.Windows.Forms.MaskedTextBox.MaskInputRejected" /> event of a <see cref="T:System.Windows.Forms.MaskedTextBox" /> control.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Forms.MaskedTextBox.MaskInputRejected> event of the <xref:System.Windows.Forms.MaskedTextBox> class is raised whenever an input character does not match its corresponding element in the input mask. For more information, see the <xref:System.Windows.Forms.MaskedTextBox.MaskInputRejected> event.
When you create a <xref:System.Windows.Forms.MaskInputRejectedEventHandler> delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event-handler delegates, see [Handling and Raising Events](~/docs/standard/events/index.md).
]]></format>
</remarks>
<altmember cref="E:System.Windows.Forms.MaskedTextBox.MaskInputRejected" />
<altmember cref="T:System.Windows.Forms.MaskInputRejectedEventArgs" />
<altmember cref="T:System.Windows.Forms.MaskedTextBox" />
</Docs>
</Type>
You can’t perform that action at this time.