File: View.xml

package info (click to toggle)
mono 6.14.1%2Bds2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,282,732 kB
  • sloc: cs: 11,182,461; xml: 2,850,281; ansic: 699,123; cpp: 122,919; perl: 58,604; javascript: 30,841; asm: 21,845; makefile: 19,602; sh: 10,973; python: 4,772; pascal: 925; sql: 859; sed: 16; php: 1
file content (221 lines) | stat: -rw-r--r-- 15,394 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<?xml version="1.0" encoding="utf-8"?>
<Type Name="View" FullName="System.Web.UI.WebControls.View">
  <TypeSignature Language="C#" Value="public class View : System.Web.UI.Control" />
  <AssemblyInfo>
    <AssemblyName>System.Web</AssemblyName>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Web.UI.Control</BaseTypeName>
  </Base>
  <Interfaces />
  <Attributes>
    <Attribute>
      <AttributeName>System.Web.UI.ToolboxData("&lt;{0}:View runat="server"&gt;&lt;/{0}:View&gt;")</AttributeName>
    </Attribute>
    <Attribute>
      <AttributeName>System.ComponentModel.Designer("System.Web.UI.Design.WebControls.ViewDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.IDesigner")</AttributeName>
    </Attribute>
    <Attribute>
      <AttributeName>System.Web.UI.ParseChildren(false)</AttributeName>
    </Attribute>
  </Attributes>
  <Docs>
    <since version=".NET 2.0" />
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>In this topic:</para>
      <list type="bullet">
        <item>
          <para>
            <format type="text/html">
              <a href="#introduction">Introduction</a>
            </format>
          </para>
        </item>
        <item>
          <para>
            <format type="text/html">
              <a href="#declarative_syntax">Declarative Syntax</a>
            </format>
          </para>
        </item>
      </list>
      <format type="text/html">
        <a href="#introduction" />
      </format>
      <format type="text/html">
        <h2>Introduction</h2>
      </format>
      <para>The <see cref="T:System.Web.UI.WebControls.View" /> control is a container for a group of controls. A <see cref="T:System.Web.UI.WebControls.View" /> control must always be contained within a <see cref="T:System.Web.UI.WebControls.MultiView" /> control. Only one <see cref="T:System.Web.UI.WebControls.View" /> control at a time can be defined as the active view within a <see cref="T:System.Web.UI.WebControls.MultiView" /> control. </para>
      <para>The <see cref="P:System.Web.UI.WebControls.MultiView.ActiveViewIndex" /> property specifies the active <see cref="T:System.Web.UI.WebControls.View" /> control within the <see cref="P:System.Web.UI.WebControls.MultiView.Views" /> collection of a <see cref="T:System.Web.UI.WebControls.MultiView" /> control. The active view control is rendered to the client, as long as the containing <see cref="T:System.Web.UI.WebControls.MultiView" /> control is visible. Use the <see cref="P:System.Web.UI.WebControls.View.Visible" /> property to determine whether a <see cref="T:System.Web.UI.WebControls.View" /> control and its child controls are visible on the page and rendered to the client.</para>
      <para>A <see cref="T:System.Web.UI.WebControls.View" /> control can contain controls of any type, including other <see cref="T:System.Web.UI.WebControls.MultiView" /> controls. A <see cref="T:System.Web.UI.WebControls.View" /> control does not support any style properties. To apply styles to a <see cref="T:System.Web.UI.WebControls.View" /> control, add one or more <see cref="T:System.Web.UI.WebControls.Panel" /> controls to the <see cref="T:System.Web.UI.WebControls.View" /> control.</para>
      <para>The <see cref="T:System.Web.UI.WebControls.View" /> class provides the <see cref="E:System.Web.UI.WebControls.View.Activate" /> and <see cref="E:System.Web.UI.WebControls.View.Deactivate" /> events. The <see cref="E:System.Web.UI.WebControls.View.Activate" /> event is raised when the current <see cref="T:System.Web.UI.WebControls.View" /> control becomes the active view. This occurs when the value of the <see cref="P:System.Web.UI.WebControls.MultiView.ActiveViewIndex" /> property changes or the <see cref="M:System.Web.UI.WebControls.MultiView.SetActiveView(System.Web.UI.WebControls.View)" /> method is called to specify a different <see cref="T:System.Web.UI.WebControls.View" /> control. For example, if View1 is the active view within a <see cref="T:System.Web.UI.WebControls.MultiView" /> control, when the <see cref="P:System.Web.UI.WebControls.MultiView.ActiveViewIndex" /> property changes to specify View2, the <see cref="E:System.Web.UI.WebControls.View.Activate" /> event is raised for View2 and the <see cref="E:System.Web.UI.WebControls.View.Deactivate" /> event is raised for View1.</para>
      <para>To allow users to navigate between multiple <see cref="T:System.Web.UI.WebControls.View" /> controls within a <see cref="T:System.Web.UI.WebControls.MultiView" /> control, you can add a <see cref="T:System.Web.UI.WebControls.LinkButton" /> or <see cref="T:System.Web.UI.WebControls.Button" /> control to each <see cref="T:System.Web.UI.WebControls.View" /> control. Set the <see cref="T:System.Web.UI.WebControls.LinkButton" /> or <see cref="T:System.Web.UI.WebControls.Button" /> control's CommandName property to the ID of the <see cref="T:System.Web.UI.WebControls.View" /> control to navigate to. For a code example, see <see cref="E:System.Web.UI.WebControls.MultiView.ActiveViewChanged" />.</para>
      <para>For more information on manipulating <see cref="T:System.Web.UI.WebControls.View" /> controls within a <see cref="T:System.Web.UI.WebControls.MultiView" /> control, see the <see cref="T:System.Web.UI.WebControls.MultiView" /> topic.</para>
      <format type="text/html">
        <a href="#declarative_syntax" />
      </format>
      <format type="text/html">
        <h2>Declarative Syntax</h2>
      </format>
      <code>&lt;asp:View
    EnableTheming="<codeFeaturedElement>True</codeFeaturedElement>|False"
    EnableViewState="<codeFeaturedElement>True</codeFeaturedElement>|False"
    ID="string"
    OnActivate="Activate event handler"
    OnDataBinding="DataBinding event handler"
    OnDeactivate="Deactivate event handler"
    OnDisposed="Disposed event handler"
    OnInit="Init event handler"
    OnLoad="Load event handler"
    OnPreRender="PreRender event handler"
    OnUnload="Unload event handler"
    runat="server"
    SkinID="string"
    Visible="<codeFeaturedElement>True</codeFeaturedElement>|False"
/&gt;</code>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Represents a control that acts as a container for a group of controls within a <see cref="T:System.Web.UI.WebControls.MultiView" /> control.</para>
    </summary>
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public View ();" />
      <MemberType>Constructor</MemberType>
      <Parameters />
      <Docs>
        <remarks>To be added.</remarks>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.View" /> class. </para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="Activate">
      <MemberSignature Language="C#" Value="public event EventHandler Activate;" />
      <MemberType>Event</MemberType>
      <ReturnValue>
        <ReturnType>System.EventHandler</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="E:System.Web.UI.WebControls.View.Activate" /> event is raised when the current <see cref="T:System.Web.UI.WebControls.View" /> control becomes the active view. This occurs when the value of the <see cref="P:System.Web.UI.WebControls.MultiView.ActiveViewIndex" /> property changes or the <see cref="M:System.Web.UI.WebControls.MultiView.SetActiveView(System.Web.UI.WebControls.View)" /> method is called to specify a different <see cref="T:System.Web.UI.WebControls.View" /> control. For example, if View1 is the active view within a <see cref="T:System.Web.UI.WebControls.MultiView" /> control, when the <see cref="P:System.Web.UI.WebControls.MultiView.ActiveViewIndex" /> property changes to specify View2, the <see cref="E:System.Web.UI.WebControls.View.Activate" /> event is raised for View2 and the <see cref="E:System.Web.UI.WebControls.View.Deactivate" /> event is raised for View1.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Occurs when the current <see cref="T:System.Web.UI.WebControls.View" /> control becomes the active view.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="Deactivate">
      <MemberSignature Language="C#" Value="public event EventHandler Deactivate;" />
      <MemberType>Event</MemberType>
      <ReturnValue>
        <ReturnType>System.EventHandler</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="E:System.Web.UI.WebControls.View.Deactivate" /> event is raised when the current active <see cref="T:System.Web.UI.WebControls.View" /> control becomes inactive. A <see cref="T:System.Web.UI.WebControls.View" /> control becomes inactive when the value of the <see cref="P:System.Web.UI.WebControls.MultiView.ActiveViewIndex" /> property changes or the <see cref="M:System.Web.UI.WebControls.MultiView.SetActiveView(System.Web.UI.WebControls.View)" /> method is called to specify a different <see cref="T:System.Web.UI.WebControls.View" /> control. For example, if View1 is the active view within a <see cref="T:System.Web.UI.WebControls.MultiView" /> control, when the <see cref="P:System.Web.UI.WebControls.MultiView.ActiveViewIndex" /> property changes to specify View2, the <see cref="E:System.Web.UI.WebControls.View.Deactivate" /> event is raised for View1 and the <see cref="E:System.Web.UI.WebControls.View.Activate" /> event is raised for View2.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Occurs when the current active <see cref="T:System.Web.UI.WebControls.View" /> control becomes inactive.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="OnActivate">
      <MemberSignature Language="C#" Value="protected virtual void OnActivate (EventArgs e);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="e" Type="System.EventArgs" />
      </Parameters>
      <Docs>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="E:System.Web.UI.WebControls.View.Activate" /> event is raised when the current <see cref="T:System.Web.UI.WebControls.View" /> control becomes the active view.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Raises the <see cref="E:System.Web.UI.WebControls.View.Activate" /> event of the <see cref="T:System.Web.UI.WebControls.View" /> control.</para>
        </summary>
        <param name="e">
          <attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.EventArgs" /> that contains the event data. </param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="OnDeactivate">
      <MemberSignature Language="C#" Value="protected virtual void OnDeactivate (EventArgs e);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="e" Type="System.EventArgs" />
      </Parameters>
      <Docs>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="E:System.Web.UI.WebControls.View.Deactivate" /> event is raised when the current active <see cref="T:System.Web.UI.WebControls.View" /> control becomes inactive.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Raises the <see cref="E:System.Web.UI.WebControls.View.Deactivate" /> event of the <see cref="T:System.Web.UI.WebControls.View" /> control.</para>
        </summary>
        <param name="e">
          <attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.EventArgs" /> that contains the event data. </param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="Visible">
      <MemberSignature Language="C#" Value="public override bool Visible { set; get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Use the <see cref="P:System.Web.UI.WebControls.View.Visible" /> property to determine whether the current <see cref="T:System.Web.UI.WebControls.View" /> control is visible and rendered to the client. For a <see cref="T:System.Web.UI.WebControls.View" /> control to be visible on the rendered page, it must be the active view in its containing <see cref="T:System.Web.UI.WebControls.MultiView" /> control, and the containing <see cref="T:System.Web.UI.WebControls.MultiView" /> control must be visible. If the containing <see cref="T:System.Web.UI.WebControls.MultiView" /> control is not visible on the page, or if the <see cref="T:System.Web.UI.WebControls.View" /> control is not the active view, then the <see cref="T:System.Web.UI.WebControls.View" /> control and its child controls are not rendered.</para>
          <block subset="none" type="note">
            <para>The <see cref="P:System.Web.UI.WebControls.View.Visible" /> property is set internally based on the visibility and active view for the containing parent control. If you set this property at run time, an <see cref="T:System.InvalidOperationException" /> exception is thrown. If you set the <see cref="P:System.Web.UI.WebControls.View.Visible" /> property at design time, any changes to the property are ignored.</para>
          </block>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets or sets a value that indicates whether the <see cref="T:System.Web.UI.WebControls.View" /> control is visible. </para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
  </Members>
</Type>