接著将该属性的值指定为您在 XAML页面的程式码后置档案中所定义的事件处理常式方法的名称。
Then specify the value of that attribute as the name of the event handler method that you defined in the code-behind file of the XAML page.
显示处理大部分使用者输入事件和报告每个事件的相关资讯的程式码范例。
Presents a code example that handles most user input events and reports information about each event.
若要隐藏关闭中的工具提示,事件的处理程式应将其标记为已处理。
To suppress closing the tooltip, handlers of the event should mark it as handled.
您可以处理这个事件以重设应用程式的状态,此状态的资讯包含在传递给此事件的参数值内。
You can handle the event to reset the application to the state whose information is contained in the parameter values that are passed to the event.
提供事件相关公用程式方法,为类别拥有者注册路由事件并加入类别处理常式。
Provides event-related utility methods that register routed events for class owners and add class handlers.
例如,这可让您只停用特定巨集专案的事件处理程式码。
This allows you, for example, to disable event handling code on only certain macro projects.
取得对应引发事件之程式码区段开头的栏号。
Type: System. Int32The column number that corresponds to the beginning of the section of code that raised the event.
使用元件的网页开发人员可以将属性通知事件系结至自己的处理常式,每当属性值变更时就执行程式码。
Page developers who use the component can bind the property notification event to their own handler to run code when the property value changes.
您可以使用这个事件处理常式,在功能区载入时执行自订程式码。
Use this event handler to run custom code when the Ribbon loads.
您可以使用这个事件处理常式,在功能区载入时执行自订程式码。
Use this event handler to run custom code when the Ribbon loads.
应用推荐