←Select platform

OnBeforeObjectChanged Method

Summary

Raises the BeforeObjectChanged event.

Syntax

C#
VB
C++
protected virtual void OnBeforeObjectChanged(  
   Leadtools.Windows.Annotations.AnnBeforeObjectChangedEventArgs e 
) 
Protected Overridable Sub OnBeforeObjectChanged( _ 
   ByVal e As Leadtools.Windows.Annotations.AnnBeforeObjectChangedEventArgs _ 
) 
protected: 
virtual void OnBeforeObjectChanged(  
   Leadtools.Windows.Annotations.AnnBeforeObjectChangedEventArgs^ e 
) 

Parameters

e
An AnnBeforeObjectChangedEventArgs that contains the event data.

Remarks

Raising an event invokes the event handler through a delegate. The OnBeforeObjectChanged method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Notes to Inheritors: When overriding OnBeforeObjectChanged in a derived class, be sure to call the base class's OnBeforeObjectChanged method so that registered delegates receive the event.

Example

For C#/VB examples, refer to BeforeObjectChanged.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Windows.Annotations Assembly
Click or drag to resize