ActiveReports 13
EditModeEnteringEventArgs Class
Members  Example 

GrapeCity.ActiveReports.Design.Win Assembly > GrapeCity.ActiveReports.Design Namespace : EditModeEnteringEventArgs Class
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 Class
Public NotInheritable Class EditModeEnteringEventArgs 
   Inherits System.EventArgs
public sealed class EditModeEnteringEventArgs : System.EventArgs 

Edit mode applies to the following types of controls:

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


See Also


EditModeEnteringEventArgs Members
GrapeCity.ActiveReports.Design Namespace