每个画面格都会呼叫此事件处理常式一次。
传回用来将事件处理常式委派加入事件来源的方法。
Returns the method used to add an event handler delegate to the event source.
列出在继承的元件中事件处理常式会发生的常见问题。
Lists common issues that occur with event handlers in inherited components.
当事件引发时,接收到该事件的事件处理常式便会执行。
When an event is raised, the event handler or handlers that receive the event are executed.
借由选取物件然后选取事件,即可建立新的事件处理常式。
You can create a new event handler by selecting the object and then selecting the event.
在原本剖析的XAML页面中加入事件处理常式要简单许多。
Adding an event handler in the initially parsed XAML page is much simpler.
除非移除委派,否则每次发生事件时都会呼叫事件处理常式。
Unless you remove the delegate, the event handler is called whenever the event occurs.
在您移除该委派之前,每当事件发生,就会呼叫事件处理常式。
The event handler is called whenever the event occurs, until you remove the delegate.
除非您移除委派,否则每当事件发生时就会呼叫事件处理常式。
The event handler is called whenever the event occurs, unless you remove the delegate.
以下程序码范例示范如何宣告不使用事件资料的事件处理常式委派。
The following code example demonstrates the declaration of an event handler delegate that does not use event data.
一般是由事件处理常式组成,但是可以包含您需要的任何方法或属性。
This typically consists of event handlers, but can include any methods or properties that you need.
为非同步页面,注册不需要状态资讯的开始与结束事件处理常式委派。
Registers beginning and ending event handler delegates that do not require state information for an asynchronous page.
示范如何定义事件处理常式,并将它加入到另一个类别中引发的事件。
Shows how to define an event handler and add it to an event raised in another class.
从HTML文件物件模型(DOM)上的具名事件移除事件处理常式。
Adds an event handler for a named event on the HTML Document Object Model (DOM).
取得或设定物件,用以封送处理因目录变更而发出的事件处理常式呼叫。
Gets or sets the object used to marshal the event handler calls issued as a result of a directory change.
事件处理常式是一个程序,但是事件本身则是必须引发和处理的信号装置。
An event handler is a procedure, but the event itself is a signaling device, which must be raised and handled.
例如,您可以建立事件处理常式,将所有错误输出行存入指定的错误记录档。
For example, you might create an event handler that stores all error output lines into a designated error log file.
在要加入事件处理常式的物件项目内,加入名称与要处理的事件相符的属性。
Within the object element where you want to add the event handler, add an attribute that matches the name of the event that you want to handle.
取得或设定值,指出是否在事件处理常式中处理删除作业中引发的例外状况。
Gets or sets a value indicating whether an exception that was raised during the delete operation was handled in the event handler.
如果发生这种事件,而且关联的事件处理常式中有程序码,就会叫用此程序码。
If one of these events occurs and there is code in the associated event handler, that code is invoked.
若要保留此物件的参照,请在您实作方案事件处理常式的类别中宣告私用变数。
To retain a reference to this object, declare a private variable in the class in which you implement the solution event handlers.
集合类别必须提供方法,根据事件索引键来设定、存取和撷取事件处理常式委派。
The collection class must provide methods for setting, accessing, and retrieving the event handler delegate based on the event key.
每当第一个资料来源变更时,第二个资料来源的查询就会经由事件处理常式来更新。
Whenever the first data source changes, the second data source's query is updated through an event handler.
对于与类别关联的专案对话方块,当您建立事件处理常式时,您可以利用一些捷径。
For project dialog boxes that are already associated with a class, you can take advantage of some shortcuts when you create event handlers.
不过,您可以在事件处理常式方法中修改配置,而这代表配置会在呈现之前再计算一次。
However, you can modify layout in your event handler method, which means that layout will be computed once more before rendering.
此外,如果视觉化树状结构的变更强制更新复合场景图形,也会呼叫事件处理常式方法。
In addition, if changes to the visual tree force updates to the composition scene graph, your event handler method is also called.
使用此方法便能使得服务不但能扩充至任何事件配置,也能取代特定型别的事件处理常式。
This way the service can be extended to any eventing scheme, and it also allows specific types of event handlers to be replaced.
这个功能允许您视情况设定或是变更系结方法,并且动态地将事件处理常式附加到控制项。
With this feature, you can set up or change the bound method depending on a condition and to dynamically attach an event handler to a control.
此外,如果变更视觉化树状结构会强制更新复合树状结构,则也会呼叫您的事件处理常式。
In addition, if changes to the visual tree force updates to the composition tree, your event handler is also called.
NET完成执行事件处理常式,为了让快取模组储存会用于服务后续来自快取的要求的回应时。
NET bypasses execution of the current event handler and allows a caching module to serve a request from the cache.
应用推荐