ActiveReports 6 Online Help
EditModeEnteringEventArgs Class
Members  Example 

This class retrieves the type of control to be edited when the user enters edit mode, allowing you to cancel editing for specified types of controls.
Object Model
EditModeEnteringEventArgs ClassARControl Class
Syntax
'Declaration
 
Public NotInheritable Class EditModeEnteringEventArgs 
   Inherits System.EventArgs
public sealed class EditModeEnteringEventArgs : System.EventArgs 
Remarks

Edit mode applies to the following types of controls:

Example
Private Sub arDesigner_EditModeEntering(ByVal sender As System.Object, ByVal e As DataDynamics.ActiveReports.Design.EditModeEnteringEventArgs) Handles arDesigner.EditModeEntering
        If Typeof e.Control Is DataDynamics.ActiveReports.TextBox Then
            e.Cancel = True
        End If
    End Sub
private void arDesigner_EditModeEntering(object sender, EditModeEnteringEventArgs e)
        {
            if (e.Control is DataDynamics.ActiveReports.TextBox)
            {
                e.Cancel = true;
            }
        }
Inheritance Hierarchy

System.Object
   System.EventArgs
      DataDynamics.ActiveReports.Design.EditModeEnteringEventArgs

Requirements

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

See Also

Reference

EditModeEnteringEventArgs Members
DataDynamics.ActiveReports.Design Namespace

Send Feedback