Visual Basic (Declaration) | |
---|---|
Public NotInheritable Class EditModeExitEventArgs Inherits System.EventArgs |
C# | |
---|---|
public sealed class EditModeExitEventArgs : System.EventArgs |
Edit mode applies to the following types of controls:
- RichTextBox
- TextBox
- CheckBox
- Label
C# | Copy Code |
---|---|
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!"; } } |
Visual Basic | Copy Code |
---|---|
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 |
System.Object
System.EventArgs
GrapeCity.ActiveReports.Design.EditModeExitEventArgs
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