/
TransactedChangeCallback.xml
40 lines (38 loc) · 2.48 KB
/
TransactedChangeCallback.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
<Type Name="TransactedChangeCallback" FullName="System.Web.UI.Design.TransactedChangeCallback">
<TypeSignature Language="C#" Value="public delegate bool TransactedChangeCallback(object context);" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed TransactedChangeCallback extends System.MulticastDelegate" />
<TypeSignature Language="DocId" Value="T:System.Web.UI.Design.TransactedChangeCallback" />
<TypeSignature Language="VB.NET" Value="Public Delegate Function TransactedChangeCallback(context As Object) As Boolean " />
<TypeSignature Language="F#" Value="type TransactedChangeCallback = delegate of obj -> bool" />
<TypeSignature Language="C++ CLI" Value="public delegate bool TransactedChangeCallback(System::Object ^ context);" />
<AssemblyInfo>
<AssemblyName>System.Design</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters>
<Parameter Name="context" Type="System.Object" />
</Parameters>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<param name="context">The method to call when the transaction is invoked.</param>
<summary>A delegate that refers to a method in a custom <see cref="T:System.ComponentModel.Design.DesignerActionList" /> object that is to be called by the <see cref="Overload:System.Web.UI.Design.ControlDesigner.InvokeTransactedChange" /> method for implementing property changes in the designer's associated control.</summary>
<returns>
<see langword="true" /> if the transaction completed successfully; <see langword="false" /> if the transaction should be rolled back.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
For a code example, see <xref:System.Web.UI.Design.ControlDesigner.InvokeTransactedChange%2A>.
]]></format>
</remarks>
<altmember cref="Overload:System.Web.UI.Design.ControlDesigner.InvokeTransactedChange" />
<altmember cref="T:System.Web.UI.Design.ControlDesigner" />
<related type="Article" href="https://docs.microsoft.com/previous-versions/visualstudio/visual-studio-2010/37899azc(v=vs.100)">Extending Design-Time Support</related>
<related type="Article" href="https://docs.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171820(v=vs.120)">How to: Extend the Appearance and Behavior of Controls in Design Mode</related>
</Docs>
</Type>