|
Este artículo proviene de un motor de traducción automática. Mueva el puntero sobre las frases del artículo para ver el texto original. Más información.
|
Traducción
Original
|
WizardStepCollection (Clase)
Espacio de nombres: System.Web.UI.WebControls
Ensamblado: System.Web (en System.Web.dll)
El tipo WizardStepCollection expone los siguientes miembros.
| Nombre | Descripción | |
|---|---|---|
![]() | Count | |
![]() | IsReadOnly | |
![]() | IsSynchronized | |
![]() | Item | |
![]() | SyncRoot |
| Nombre | Descripción | |
|---|---|---|
![]() | Add | |
![]() | AddAt | |
![]() | Clear | |
![]() | Contains | |
![]() | CopyTo | |
![]() | Equals(Object) | |
![]() | GetEnumerator | |
![]() | GetHashCode | |
![]() | GetType | |
![]() | IndexOf | |
![]() | Insert | |
![]() | Remove | |
![]() | RemoveAt | |
![]() | ToString |
| Nombre | Descripción | |
|---|---|---|
![]() | AsParallel | |
![]() | AsQueryable | |
![]() | Cast<TResult> | |
![]() | OfType<TResult> |
| Nombre | Descripción | |
|---|---|---|
![]() ![]() | ICollection.CopyTo | Infraestructura. |
![]() ![]() | IList.Add | Infraestructura. |
![]() ![]() | IList.Contains | Infraestructura. |
![]() ![]() | IList.IndexOf | Infraestructura. |
![]() ![]() | IList.Insert | Infraestructura. |
![]() ![]() | IList.IsFixedSize | Infraestructura. |
![]() ![]() | IList.Item | Infraestructura. |
![]() ![]() | IList.Remove | Infraestructura. |
Utilice la propiedad de Item para tener acceso directamente a WizardStepBase- objeto derivado en un índice de base cero concreto. Utilice el método de GetEnumerator para crear un enumerador que puede utilizar para iterar por la colección. Utilice el método de CopyTo para copiar el contenido de la colección de WizardStepCollection en un objeto de Array .
| Topic | Location |
|---|---|
| Tutorial: Uso avanzado del control Wizard de ASP.NET | Generar aplicaciones Web ASP .NET en Visual Studio |
| Tutorial: Crear un control ASP.NET Wizard básico | Generar aplicaciones Web ASP .NET en Visual Studio |
| Tutorial: Crear un control ASP.NET Wizard básico | Generar aplicaciones Web ASP .NET en Visual Studio |
| Tutorial: Uso avanzado del control Wizard de ASP.NET | Generar aplicaciones Web ASP .NET en Visual Studio |
| Tutorial: Uso avanzado del control Wizard de ASP.NET | dv_vwdcon |
<%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>ASP.NET Example</title> </head> <body> <form id="form1" runat="server"> <asp:Wizard id="Wizard1" runat="server" > <WizardSteps> <asp:WizardStep id="Step1" runat="server" title="Step 1"> </asp:WizardStep> <asp:WizardStep id="Step2" runat="server" title="Step 2"> </asp:WizardStep> <asp:WizardStep id="Step3" runat="server" title="Step 3"> </asp:WizardStep> <asp:WizardStep id="Step4" runat="server" title="Step 4"> </asp:WizardStep> <asp:WizardStep id="Step5" runat="server" title="Step 5"> </asp:WizardStep> <asp:WizardStep id="Step6" runat="server" title="Step 6"> </asp:WizardStep> </WizardSteps> <HeaderTemplate> <b>WizardStepCollection Example</b> </HeaderTemplate> </asp:Wizard> </form> </body> </html>
<%@ Page Language="C#" CodeFile="WizardStepCollection.cs" Inherits="WizardStepCollectioncs_aspx" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>WizardStepCollection Example</title> </head> <body> <form id="Form1" runat="server"> <h3>WizardStepCollection Example</h3> <asp:PlaceHolder id="PlaceHolder1" runat="server" /> </form> </body> </html>
using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public partial class WizardStepCollectioncs_aspx : System.Web.UI.Page { void Page_Load(object sender, EventArgs e) { // Programmatically create a wizard control. Wizard Wizard1 = new Wizard(); // Create steps for the wizard control and insert them // into the WizardStepCollection collection. for (int i = 0; i <= 5; i++) { WizardStepBase newStep = new WizardStep(); newStep.ID = "Step" + (i + 1).ToString(); newStep.Title = "Step " + (i + 1).ToString(); Wizard1.WizardSteps.Add(newStep); } // Display the wizard control on the Web page. PlaceHolder1.Controls.Add(Wizard1); } }
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (no se admite el rol Server Core), Windows Server 2008 R2 (se admite el rol Server Core con SP1 o versiones posteriores; no se admite Itanium)
.NET Framework no admite todas las versiones de todas las plataformas. Para obtener una lista de las versiones compatibles, vea Requisitos de sistema de .NET Framework.

