ActiveReports 9
EditModeExitEventArgs Class
Members  Example 

This class retrieves the type of control edited when the user exits edit mode.
Object Model
EditModeExitEventArgs Class
Syntax
'Declaration
 
Public NotInheritable Class EditModeExitEventArgs 
   Inherits System.EventArgs
public sealed class EditModeExitEventArgs : System.EventArgs 
Remarks

Edit mode applies to the following types of controls:

Example
private void arDesigner_EditModeExit(object sender, EditModeExitEventArgs e)
        {
            if (e.Control is GrapeCity.ActiveReports.SectionReportModel.Label)
            {
                (e.Control as GrapeCity.ActiveReports.SectionReportModel.Label).Text = "Trial version!";
            }
        }
Private Sub arDesigner_EditModeExit(ByVal sender As System.Object, ByVal e As GrapeCity.ActiveReports.Design.EditModeExitEventArgs) Handles arDesigner.EditModeExit
        If Typeof e.Control Is GrapeCity.ActiveReports.SectionReportModel.Label Then
            CType(e.Control, GrapeCity.ActiveReports.SectionReportModel.Label).Text = "Trial version!"
        End If
    End Sub
Inheritance Hierarchy

System.Object
   System.EventArgs
      GrapeCity.ActiveReports.Design.EditModeExitEventArgs

See Also

Reference

EditModeExitEventArgs Members
GrapeCity.ActiveReports.Design Namespace

 

 


Copyright © 2016 GrapeCity, inc. All rights reserved

Support Forum