File: DetailsViewMode.xml

package info (click to toggle)
mono-reference-assemblies 3.12.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 604,240 kB
  • ctags: 625,505
  • sloc: cs: 3,967,741; xml: 2,793,081; ansic: 418,042; java: 60,435; sh: 14,833; makefile: 11,576; sql: 7,956; perl: 1,467; cpp: 1,446; yacc: 1,203; python: 598; asm: 422; sed: 16; php: 1
file content (107 lines) | stat: -rw-r--r-- 5,009 bytes parent folder | download | duplicates (8)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<?xml version="1.0" encoding="utf-8"?>
<Type Name="DetailsViewMode" FullName="System.Web.UI.WebControls.DetailsViewMode">
  <TypeSignature Language="C#" Value="public enum DetailsViewMode" />
  <AssemblyInfo>
    <AssemblyName>System.Web</AssemblyName>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Enum</BaseTypeName>
  </Base>
  <Docs>
    <since version=".NET 2.0" />
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>The <see cref="T:System.Web.UI.WebControls.DetailsViewMode" /> enumeration is used to represent the data-entry modes of a <see cref="T:System.Web.UI.WebControls.DetailsView" /> control. To determine the current mode of the control, use the <see cref="P:System.Web.UI.WebControls.DetailsView.CurrentMode" /> property. After an insert or update operation, the <see cref="T:System.Web.UI.WebControls.DetailsView" /> control returns to the mode specified by the <see cref="P:System.Web.UI.WebControls.DetailsView.DefaultMode" /> property. By default, the control returns to read-only mode. You can specify an alternate mode to return to by setting the <see cref="P:System.Web.UI.WebControls.DetailsView.DefaultMode" /> property. To change modes programmatically, use the <see cref="M:System.Web.UI.WebControls.DetailsView.ChangeMode(System.Web.UI.WebControls.DetailsViewMode)" /> method. When the <see cref="T:System.Web.UI.WebControls.DetailsView" /> control changes modes, the events in the following table are raised.</para>
      <list type="table">
        <listheader>
          <item>
            <term>
              <para>Event</para>
            </term>
            <description>
              <para>Description</para>
            </description>
          </item>
        </listheader>
        <item>
          <term>
            <para>
              <see cref="E:System.Web.UI.WebControls.DetailsView.ModeChanging" />
            </para>
          </term>
          <description>
            <para>Occurs when a <see cref="T:System.Web.UI.WebControls.DetailsView" /> control attempts to change between edit, insert, and read-only mode, but before the mode actually changes. This event is often used to cancel a mode change.</para>
          </description>
        </item>
        <item>
          <term>
            <para>
              <see cref="E:System.Web.UI.WebControls.DetailsView.ModeChanged" />
            </para>
          </term>
          <description>
            <para>Occurs after a <see cref="T:System.Web.UI.WebControls.DetailsView" /> control has changed from edit, insert, or read-only mode to another mode. This event is often used to perform a task when the <see cref="T:System.Web.UI.WebControls.DetailsView" /> control changes modes.</para>
          </description>
        </item>
      </list>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Represents the different data-entry modes of a <see cref="T:System.Web.UI.WebControls.DetailsView" /> control.</para>
    </summary>
  </Docs>
  <Members>
    <Member MemberName="Edit">
      <MemberSignature Language="C#" Value="Edit" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.Web.UI.WebControls.DetailsViewMode</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>An editing mode that allows the user to update the values of an existing record.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="Insert">
      <MemberSignature Language="C#" Value="Insert" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.Web.UI.WebControls.DetailsViewMode</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>An inserting mode that allows the user to enter the values for a new record.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="ReadOnly">
      <MemberSignature Language="C#" Value="ReadOnly" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.Web.UI.WebControls.DetailsViewMode</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A display mode that prevents the user from modifying the values of a record.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
  </Members>
</Type>