次の方法で共有


WizardPage.Description プロパティ

定義

フォーム、ウィザード ページ、またはその他のオブジェクトの説明を取得または設定します。

public:
 property System::String ^ Description { System::String ^ get(); void set(System::String ^ value); };
public string Description { get; set; }
member this.Description : string with get, set
Public Property Description As String

プロパティ値

説明テキスト。 既定値は空の文字列です。

Descriptionプロパティの例を次に示します。 次の使用例は、説明をページ名に設定します。 このコード例は、WizardPage クラスのために提供されている大規模な例の一部です。

protected override void Activate()
{
    _description = this.Name;
    _caption = "Original Caption";
    this.button4.Text = "Change R to L Layout : currently " + RightToLeft.ToString();
}
// Customize the Description Property.
public new string Description
{
    get
    {
        return _description;
    }
    set
    {
        _description = value;
    }
}

注釈

オブジェクトの説明を更新するには、このプロパティを WizardPage 使用します。 Descriptionプロパティには、ウィザード フォームで説明が必要な場合に使用できる文字列が含まれています。

適用対象