Wizard.WizardSteps プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > Wizard.WizardSteps プロパティの意味・解説 

Wizard.WizardSteps プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

コントロールに対して定義されすべての WizardStepBase オブジェクト格納するコレクション取得します

名前空間: System.Web.UI.WebControls
アセンブリ: System.Web (system.web.dll 内)
構文構文

<ThemeableAttribute(False)> _
Public Overridable ReadOnly
 Property WizardSteps As WizardStepCollection
Dim instance As Wizard
Dim value As WizardStepCollection

value = instance.WizardSteps
[ThemeableAttribute(false)] 
public virtual WizardStepCollection WizardSteps { get;
 }
[ThemeableAttribute(false)] 
public:
virtual property WizardStepCollection^ WizardSteps {
    WizardStepCollection^ get ();
}
/** @property */
public WizardStepCollection get_WizardSteps ()
public function get WizardSteps
 () : WizardStepCollection

プロパティ
Wizard に対して定義されすべての WizardStepBase オブジェクトを表す WizardStepCollection。

解説解説
使用例使用例

プログラムによって Wizard コントロール作成しAdd メソッド使用して WizardStepBase オブジェクトWizardSteps コレクション追加する方法次のコード例示します

<%@ Page Language="VB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">
  
  ' Programmatically create a Wizard control and dynamically
  ' add WizardStep objects to it.    
  
  Sub Page_Load(ByVal sender As
 Object, ByVal e As EventArgs)
      
    Dim WizardControl As New
 Wizard()
      
    ' Create some steps for the wizard and add them to 
    ' the Wizard control.
    For i As Integer = 0
 To 5
      Dim newStep As WizardStepBase = New
 WizardStep()
      newStep.ID = "Step" + (i + 1).ToString()
      WizardControl.WizardSteps.Add(newStep)
    Next
    
    ' Display the wizard on the page.
    PlaceHolder1.Controls.Add(WizardControl)
        
  End Sub
  
</script>

<html>
  <body>
    <form id="Form1" runat="server">
      <h3>WizardSteps Example</h3>
      <asp:PlaceHolder id="PlaceHolder1" 
        runat="server" />
    </form>
  </body>
</html>
<%@ page language="C#"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

  // Programmatically create a Wizard control and dynamically
  // add WizardStep objects to it.    
  
  void Page_Load(object sender, EventArgs e) 
  {
    Wizard WizardControl = new Wizard();
      
    // Create some steps for the wizard and add them
    // to the Wizard control.
    for (int i = 0; i <= 5; i++)
    {
      WizardStepBase newStep = new WizardStep();
      newStep.ID = "Step" + (i + 1).ToString();
      WizardControl.WizardSteps.Add(newStep);
    }
    
    // Display the wizard on the page.
    PlaceHolder1.Controls.Add(WizardControl);
  }
  
</script>

<html>
  <body>
    <form id="Form1" runat="server">
      <h3>WizardSteps Example</h3>
      <asp:PlaceHolder id="PlaceHolder1" 
        runat="server" />
    </form>
  </body>
</html>
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からWizard.WizardSteps プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からWizard.WizardSteps プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からWizard.WizardSteps プロパティ を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

Wizard.WizardSteps プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



Wizard.WizardSteps プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS