WizardNavigationEventArgs 类

定义

为用于在向导控件中导航的 CurrentStepIndex 属性和 NextStepIndex 属性提供数据。Provides data for the CurrentStepIndex property and the NextStepIndex property for navigation in wizard controls.

public ref class WizardNavigationEventArgs : EventArgs
public class WizardNavigationEventArgs : EventArgs
type WizardNavigationEventArgs = class
    inherit EventArgs
Public Class WizardNavigationEventArgs
Inherits EventArgs
继承
WizardNavigationEventArgs

注解

类提供Wizard控件中的各种导航事件所需的数据。 WizardNavigationEventArgsThe WizardNavigationEventArgs class provides the data needed for the various navigation events in a Wizard control. 例如, Wizard控件的NextButtonClick事件使用WizardNavigationEventArgs对象指示控件的CurrentStepIndexNextStepIndexFor example, the NextButtonClick event of a Wizard control uses the WizardNavigationEventArgs object to indicate the CurrentStepIndex and NextStepIndex for the control.

有关如何处理事件的详细信息, 请参阅处理和引发事件For more information about how to handle events, see Handling and Raising Events.

构造函数

WizardNavigationEventArgs(Int32, Int32)

初始化 WizardNavigationEventArgs 类的新实例。Initializes a new instance of the WizardNavigationEventArgs class.

属性

Cancel

获取或设置一个值,指示是否应取消向导中到下一步的导航。Gets or sets a value indicating whether the navigation to the next step in the wizard should be canceled.

CurrentStepIndex

获取当前显示在 WizardStep 控件中的 Wizard 对象的索引。Gets the index of the WizardStep object currently displayed in the Wizard control.

NextStepIndex

获取一个值,该值表示 WizardStep 控件要显示的下一个 Wizard 对象的索引。Gets a value that represents the index of the WizardStep object that the Wizard control will display next.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅