InputPanel for WinForms帮助文档
Validating 事件 (InputComponent)






Fires to validate the contents of a component before it loses focus.
语法
'声明
 
<C1DescriptionAttribute("在组件失去焦点之前触发以验证组件的内容。")>
<C1CategoryAttribute("焦点")>
Public Event Validating As System.ComponentModel.CancelEventHandler
'用法
 
Dim instance As InputComponent
Dim handler As System.ComponentModel.CancelEventHandler
 
AddHandler instance.Validating, handler
[C1Description("在组件失去焦点之前触发以验证组件的内容。")]
[C1Category("焦点")]
public event System.ComponentModel.CancelEventHandler Validating
public event Validating: System.ComponentModel.CancelEventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
[C1Description("在组件失去焦点之前触发以验证组件的内容。")]
[C1Category("焦点")]
public: __event System.ComponentModel.CancelEventHandler* Validating
[C1Description("在组件失去焦点之前触发以验证组件的内容。")]
[C1Category("焦点")]
public:
event System.ComponentModel.CancelEventHandler^ Validating
事件数据

The event handler receives an argument of type System.ComponentModel.CancelEventArgs containing data related to this event. The following CancelEventArgs properties provide information specific to this event.

属性说明
Cancel  
需求

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

请参见

引用

InputComponent 类
InputComponent 成员

Send Feedback