-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
DesignerActionUIStateChangeEventHandler.xml
62 lines (57 loc) · 4.72 KB
/
DesignerActionUIStateChangeEventHandler.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<Type Name="DesignerActionUIStateChangeEventHandler" FullName="System.ComponentModel.Design.DesignerActionUIStateChangeEventHandler">
<TypeSignature Language="C#" Value="public delegate void DesignerActionUIStateChangeEventHandler(object sender, DesignerActionUIStateChangeEventArgs e);" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed DesignerActionUIStateChangeEventHandler extends System.MulticastDelegate" />
<TypeSignature Language="DocId" Value="T:System.ComponentModel.Design.DesignerActionUIStateChangeEventHandler" />
<TypeSignature Language="VB.NET" Value="Public Delegate Sub DesignerActionUIStateChangeEventHandler(sender As Object, e As DesignerActionUIStateChangeEventArgs)" />
<TypeSignature Language="F#" Value="type DesignerActionUIStateChangeEventHandler = delegate of obj * DesignerActionUIStateChangeEventArgs -> unit" />
<TypeSignature Language="C++ CLI" Value="public delegate void DesignerActionUIStateChangeEventHandler(System::Object ^ sender, DesignerActionUIStateChangeEventArgs ^ e);" />
<AssemblyInfo>
<AssemblyName>System.Design</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms.Design</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeForwardingChain>
<TypeForwarding From="System.Design" FromVersion="4.0.0.0" To="System.Windows.Forms.Design" ToVersion="4.0.0.0" FrameworkAlternate="windowsdesktop-3.0;windowsdesktop-3.1" />
<TypeForwarding From="System.Design" FromVersion="5.0.0.0" To="System.Windows.Forms.Design" ToVersion="5.0.0.0" FrameworkAlternate="windowsdesktop-5.0" />
<TypeForwarding From="System.Design" FromVersion="6.0.0.0" To="System.Windows.Forms.Design" ToVersion="6.0.0.0" FrameworkAlternate="windowsdesktop-6.0" />
<TypeForwarding From="System.Design" FromVersion="7.0.0.0" To="System.Windows.Forms.Design" ToVersion="7.0.0.0" FrameworkAlternate="windowsdesktop-7.0" />
<TypeForwarding From="System.Design" FromVersion="8.0.0.0" To="System.Windows.Forms.Design" ToVersion="8.0.0.0" FrameworkAlternate="windowsdesktop-8.0" />
<TypeForwarding From="System.Design" FromVersion="9.0.0.0" To="System.Windows.Forms.Design" ToVersion="9.0.0.0" FrameworkAlternate="windowsdesktop-9.0" />
</TypeForwardingChain>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters>
<Parameter Name="sender" Type="System.Object" />
<Parameter Name="e" Type="System.ComponentModel.Design.DesignerActionUIStateChangeEventArgs" />
</Parameters>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Docs>
<param name="sender">The <see cref="T:System.Object" /> that raised the event.</param>
<param name="e">The event-specific information.</param>
<summary>Represents the method that will handle the <see cref="E:System.ComponentModel.Design.DesignerActionUIService.DesignerActionUIStateChange" /> event of a <see cref="T:System.ComponentModel.Design.DesignerActionUIService" />.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The event model in the .NET Framework is based on having an event delegate that connects an event with its handler. To raise a <xref:System.ComponentModel.Design.DesignerActionUIService.DesignerActionUIStateChange> event, two elements are needed:
- The <xref:System.ComponentModel.Design.DesignerActionUIStateChangeEventArgs> class, derived from <xref:System.EventArgs?displayProperty=nameWithType>, which holds the event data.
- The <xref:System.ComponentModel.Design.DesignerActionUIStateChangeEventHandler> delegate, which points to a method that provides the response to the event.
When you create a <xref:System.ComponentModel.Design.DesignerActionUIStateChangeEventHandler> 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](/dotnet/standard/events/).
]]></format>
</remarks>
<altmember cref="T:System.ComponentModel.Design.DesignerActionUIStateChangeEventArgs" />
<altmember cref="E:System.ComponentModel.Design.DesignerActionUIService.DesignerActionUIStateChange" />
<altmember cref="T:System.ComponentModel.Design.DesignerActionUIService" />
</Docs>
</Type>