File: WizardStepBase.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 (308 lines) | stat: -rw-r--r-- 19,174 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
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
<?xml version="1.0" encoding="utf-8"?>
<Type Name="WizardStepBase" FullName="System.Web.UI.WebControls.WizardStepBase">
  <TypeSignature Language="C#" Value="public abstract class WizardStepBase : System.Web.UI.WebControls.View" />
  <AssemblyInfo>
    <AssemblyName>System.Web</AssemblyName>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Web.UI.WebControls.View</BaseTypeName>
  </Base>
  <Interfaces />
  <Attributes>
    <Attribute>
      <AttributeName>System.ComponentModel.ToolboxItem("")</AttributeName>
    </Attribute>
    <Attribute>
      <AttributeName>System.ComponentModel.Bindable(false)</AttributeName>
    </Attribute>
    <Attribute>
      <AttributeName>System.Web.UI.ControlBuilder(typeof(System.Web.UI.WebControls.WizardStepControlBuilder))</AttributeName>
    </Attribute>
  </Attributes>
  <Docs>
    <since version=".NET 2.0" />
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>You cannot directly create an instance of the <see cref="T:System.Web.UI.WebControls.WizardStepBase" /> class. Instead, this class is inherited by the <see cref="T:System.Web.UI.WebControls.WizardStep" /> class and the <see cref="T:System.Web.UI.WebControls.TemplatedWizardStep" /> class to provide the basic functionality of a step in a control that acts as a wizard. </para>
      <para>You can derive from the <see cref="T:System.Web.UI.WebControls.WizardStepBase" /> class to create a custom class that represents a unique step in a wizard control. </para>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Implements the basic functionality required by a step in a <see cref="T:System.Web.UI.WebControls.Wizard" /> control.</para>
    </summary>
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="protected WizardStepBase ();" />
      <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.WizardStepBase" /> class. </para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="AllowReturn">
      <MemberSignature Language="C#" Value="public virtual bool AllowReturn { set; get; }" />
      <MemberType>Property</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>System.Web.UI.Filterable(false)</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>System.Web.UI.Themeable(false)</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>System.ComponentModel.DefaultValue(true)</AttributeName>
        </Attribute>
      </Attributes>
      <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>The <see cref="P:System.Web.UI.WebControls.WizardStepBase.AllowReturn" /> property can be used to enforce linear navigation in a <see cref="T:System.Web.UI.WebControls.Wizard" /> control. If each step has its <see cref="P:System.Web.UI.WebControls.WizardStepBase.AllowReturn" /> property set to false, the user will not be able to return to a step after it has been accessed. One scenario where you might use this functionality is to disallow a user to return to a step after it has been completed because you are persisting the data to a database as each step is completed. If you save the data after each step and allow the user to return to a step and change information after it has been saved, the saved data might become corrupted. By setting the <see cref="P:System.Web.UI.WebControls.WizardStepBase.AllowReturn" /> property to false, once the user has left a step, he or she will not be able to return to it and change any values.</para>
          <para>The <see cref="P:System.Web.UI.WebControls.WizardStepBase.AllowReturn" /> property determines how and when the <ui>Previous</ui> button is not rendered. The following table describes the <ui>Previous</ui> button rendering behavior.</para>
          <list type="table">
            <listheader>
              <item>
                <term>
                  <para>Scenario</para>
                </term>
                <description>
                  <para>Behavior</para>
                </description>
              </item>
            </listheader>
            <item>
              <term>
                <para>Linear: Step1 has <see cref="P:System.Web.UI.WebControls.WizardStepBase.AllowReturn" /> set to false and user action goes to step 2.</para>
              </term>
              <description>
                <para>Step 2 does not display the <ui>Previous</ui> button.</para>
              </description>
            </item>
            <item>
              <term>
                <para>Non-Linear: Step1 has <see cref="P:System.Web.UI.WebControls.WizardStepBase.AllowReturn" /> set to false and user action goes to step 3.</para>
              </term>
              <description>
                <para>Step 3 does not display the <ui>Previous</ui> button.</para>
              </description>
            </item>
            <item>
              <term>
                <para>SideBar Buttons: Step 2 has <see cref="P:System.Web.UI.WebControls.WizardStepBase.AllowReturn" /> set to false , <see cref="P:System.Web.UI.WebControls.Wizard.DisplaySideBar" /> is set to true, and a user clicks on the SideBar button.</para>
              </term>
              <description>
                <para>No buttons are automatically disabled on the sidebar when <see cref="P:System.Web.UI.WebControls.WizardStepBase.AllowReturn" /> is set to false. If a user clicks the button, the action is ignored.</para>
              </description>
            </item>
            <item>
              <term>
                <para>Linear &amp; Non-Linear with Custom Template: The step has a custom navigation template. </para>
              </term>
              <description>
                <para>No automatic hiding or displaying occurs if <see cref="P:System.Web.UI.WebControls.WizardStepBase.AllowReturn" /> is set to false when you use a template for navigation. The <ui>Previous</ui> button should be optional on the template.</para>
              </description>
            </item>
            <item>
              <term>
                <para>Using the Visual Studio Designer and <see cref="P:System.Web.UI.WebControls.Wizard.ActiveStepIndex" /> : The control has 5 steps, you are working on step 4, and you run the page. </para>
              </term>
              <description>
                <para>When step 4 is the <see cref="P:System.Web.UI.WebControls.Wizard.ActiveStepIndex" />, then the <ui>Previous</ui> button is rendered. The <ui>Previous</ui> button is only hidden for <see cref="P:System.Web.UI.WebControls.WizardStepBase.StepType" /> set to <see cref="F:System.Web.UI.WebControls.WizardStepType.Step" /> when the preceding step in the history has <see cref="P:System.Web.UI.WebControls.WizardStepBase.AllowReturn" /> set to false. Since step 4 is rendered first and there are no steps in the history, the <ui>Previous</ui> button is not hidden.</para>
              </description>
            </item>
            <item>
              <term>
                <para>Start Step and Non-Linear Navigation: A user visits step 3 and step 4 and then step 1 which has <see cref="P:System.Web.UI.WebControls.WizardStepBase.StepType" /> set to <see cref="F:System.Web.UI.WebControls.WizardStepType.Start" />. </para>
              </term>
              <description>
                <para>The wizard does not add a <ui>Previous</ui> button when the <see cref="P:System.Web.UI.WebControls.WizardStepBase.StepType" /> is set to <see cref="F:System.Web.UI.WebControls.WizardStepType.Start" /> regardless of how the user navigates to that step. </para>
              </description>
            </item>
            <item>
              <term>
                <para>Same Step In History: A user visits step 3 where <see cref="P:System.Web.UI.WebControls.WizardStepBase.StepType" /> is set to <see cref="F:System.Web.UI.WebControls.WizardStepType.Step" /> and the user does not commit their actions. They then click on the previous button on step 3.</para>
              </term>
              <description>
                <para>The wizard control checks to see if the <ui>Previous</ui> step in the history is the "same" step that the user is currently on. If the step is the same, the wizard control looks back in the history to determine the preceding "different" step and bases the display of the <ui>Previous</ui> button and destination based on the "different step" in the history. </para>
              </description>
            </item>
          </list>
          <block subset="none" type="note">
            <para>When the <see cref="P:System.Web.UI.WebControls.WizardStepBase.AllowReturn" /> property is set to false, but the <see cref="P:System.Web.UI.WebControls.Wizard.DisplaySideBar" /> property of the parent control of <see cref="T:System.Web.UI.WebControls.WizardStepBase" /> is set to true, clicking on a button in the sidebar area has no effect. The sidebar area is generally displayed to provide nonlinear navigation, so if you are not using the functionality of nonlinear navigation, you may want to set the <see cref="P:System.Web.UI.WebControls.Wizard.DisplaySideBar" /> property to false.</para>
          </block>
          <para>This property cannot be set by themes or style sheet themes. For more information, see <see cref="T:System.Web.UI.ThemeableAttribute" /> and <format type="text/html"><a href="5df3ebbd-d46c-4502-9406-02f9df4ef2c3">ASP.NET Themes Overview</a></format>.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets or sets a value indicating whether the user is allowed to return to the current step from a subsequent step in a <see cref="T:System.Web.UI.WebControls.WizardStepCollection" /> collection. </para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="Name">
      <MemberSignature Language="C#" Value="public virtual string Name { get; }" />
      <MemberType>Property</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="P:System.Web.UI.WebControls.WizardStepBase.Name" /> property returns a string that identifies a step in a wizard control. If a value is specified for the <see cref="P:System.Web.UI.WebControls.WizardStepBase.Title" /> property, the <see cref="P:System.Web.UI.WebControls.WizardStepBase.Name" /> property returns that value. If no value is specified for the <see cref="P:System.Web.UI.WebControls.WizardStepBase.Title" /> property, the <see cref="P:System.Web.UI.WebControls.WizardStepBase.Name" /> property returns the value of the <see cref="P:System.Web.UI.WebControls.WizardStepBase.ID" /> property. If values are not specified for either the <see cref="P:System.Web.UI.WebControls.WizardStepBase.Title" /> or the <see cref="P:System.Web.UI.WebControls.WizardStepBase.ID" /> property, the <see cref="P:System.Web.UI.WebControls.WizardStepBase.Name" /> property returns null.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets the name associated with a step in a control that acts as a wizard.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="StepType">
      <MemberSignature Language="C#" Value="public virtual System.Web.UI.WebControls.WizardStepType StepType { set; get; }" />
      <MemberType>Property</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>System.ComponentModel.DefaultValue(System.Web.UI.WebControls.WizardStepType.Auto)</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Web.UI.WebControls.WizardStepType</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.WizardStepBase.StepType" /> property to specify the type of navigation buttons to display for a step in a <see cref="T:System.Web.UI.WebControls.Wizard" /> control. If you specify a value for this property, any steps marked as <see cref="F:System.Web.UI.WebControls.WizardStepType.Complete" /> displays in a disabled state in the sidebar.</para>
          <para>If you do not specify a value for this property, the default is WizardStepType.Auto.</para>
          <para>The following table lists the available settings for the <see cref="P:System.Web.UI.WebControls.WizardStepBase.StepType" /> property and the resulting behavior of the step:</para>
          <list type="table">
            <item>
              <term>WizardStepType.Auto</term>
              <description>
                <para>The navigation UI that is rendered for the step is determined by the order in which the step is declared.</para>
              </description>
            </item>
            <item>
              <term>WizardStepType.Complete</term>
              <description>
                <para>The step is the last one to appear. No navigation buttons are rendered.</para>
              </description>
            </item>
            <item>
              <term>WizardStepType.Finish</term>
              <description>
                <para>The step is the final data collection step. The Finish and Previous buttons are rendered for navigation.</para>
              </description>
            </item>
            <item>
              <term>WizardStepType.Start</term>
              <description>
                <para>The step is the first one to appear. A Previous button is not rendered.</para>
              </description>
            </item>
            <item>
              <term>WizardStepType.Step</term>
              <description>
                <para>The step is any step between the Start and the Finish step. Previous and Next buttons are rendered for navigation. This step type is useful for overriding the <see cref="F:System.Web.UI.WebControls.WizardStepType.Auto" /> step type.</para>
              </description>
            </item>
          </list>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets or sets the type of navigation user interface (UI) to display for a step in a <see cref="T:System.Web.UI.WebControls.Wizard" /> control.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="Title">
      <MemberSignature Language="C#" Value="public virtual string Title { set; get; }" />
      <MemberType>Property</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>System.ComponentModel.Localizable(true)</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>System.ComponentModel.DefaultValue("")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.String</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.WizardStepBase.Title" /> property to display a user-friendly title for a step in a <see cref="T:System.Web.UI.WebControls.Wizard" /> control when the sidebar feature is enabled. If the <see cref="P:System.Web.UI.WebControls.WizardStepBase.Title" /> property is not set and the sidebar feature is enabled, the value of the <see cref="P:System.Web.UI.WebControls.WizardStepBase.ID" /> property is displayed for the sidebar button.</para>
          <para>The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see <see cref="T:System.ComponentModel.LocalizableAttribute" /> and <format type="text/html"><a href="8ef3838e-9d05-4236-9dd0-ceecff9df80d">ASP.NET Globalization and Localization</a></format>.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets or sets the title to use for a step in a <see cref="T:System.Web.UI.WebControls.Wizard" /> control when the sidebar feature is enabled.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="Wizard">
      <MemberSignature Language="C#" Value="public System.Web.UI.WebControls.Wizard Wizard { get; }" />
      <MemberType>Property</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Web.UI.WebControls.Wizard</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <remarks>To be added.</remarks>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets the <see cref="T:System.Web.UI.WebControls.Wizard" /> control that is the parent of the object derived from <see cref="T:System.Web.UI.WebControls.WizardStepBase" />.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
  </Members>
</Type>