Rename Managed.Windows.Forms to System.Windows.Forms for consistency.
[mono.git] / mcs / class / System.Windows.Forms / Documentation / en / System.Windows.Forms / DataGridViewEditingControlShowingEventHandler.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="DataGridViewEditingControlShowingEventHandler" FullName="System.Windows.Forms.DataGridViewEditingControlShowingEventHandler">
3   <TypeSignature Language="C#" Value="public delegate void DataGridViewEditingControlShowingEventHandler(object sender, DataGridViewEditingControlShowingEventArgs e);" />
4   <AssemblyInfo>
5     <AssemblyName>System.Windows.Forms</AssemblyName>
6     <AssemblyVersion>2.0.0.0</AssemblyVersion>
7   </AssemblyInfo>
8   <Base>
9     <BaseTypeName>System.Delegate</BaseTypeName>
10   </Base>
11   <Parameters>
12     <Parameter Name="sender" Type="System.Object" />
13     <Parameter Name="e" Type="System.Windows.Forms.DataGridViewEditingControlShowingEventArgs" />
14   </Parameters>
15   <ReturnValue>
16     <ReturnType>System.Void</ReturnType>
17   </ReturnValue>
18   <Docs>
19     <param name="sender">To be added.</param>
20     <param name="e">To be added.</param>
21     <since version=".NET 2.0" />
22     <remarks>
23       <attribution license="cc4" from="Microsoft" modified="false" />
24       <para>Handle the <see cref="E:System.Windows.Forms.DataGridView.EditingControlShowing" /> event to perform custom initialization of the editing control when a cell enters edit mode. To customize the display characteristics of the control, set the properties of the object returned by the <see cref="P:System.Windows.Forms.DataGridViewEditingControlShowingEventArgs.CellStyle" /> property rather than setting the properties of the control returned by the <see cref="P:System.Windows.Forms.DataGridViewEditingControlShowingEventArgs.Control" /> property.</para>
25       <para>For more information about handling events, see <format type="text/html"><a href="01e4f1bc-e55e-413f-98c7-6588493e5f67">Consuming Events</a></format>. </para>
26       <para>When you create a <see cref="T:System.Windows.Forms.DataGridViewEditingControlShowingEventHandler" /> 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 <format type="text/html"><a href="d98fd58b-fa4f-4598-8378-addf4355a115">Events and Delegates</a></format>.</para>
27     </remarks>
28     <summary>
29       <attribution license="cc4" from="Microsoft" modified="false" />
30       <para>Represents the method that will handle the <see cref="E:System.Windows.Forms.DataGridView.EditingControlShowing" /> event of a <see cref="T:System.Windows.Forms.DataGridView" />.</para>
31     </summary>
32   </Docs>
33 </Type>