ActiveReports.Design6 Assembly > DataDynamics.ActiveReports.Design Namespace > Designer Class : EditModeExit Event |
'Declaration Public Event EditModeExit As EditModeExitEventHandler
public event EditModeExitEventHandler EditModeExit
The event handler receives an argument of type EditModeExitEventArgs containing data related to this event. The following EditModeExitEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Control | Gets the type of control that is exiting edit mode. |
Type | Gets the exit type. |
private void arDesigner_EditModeExit(object sender, EditModeExitEventArgs e) { if (e.Type == ExitType.Save && e.Control.Name == "txtDocumentOwner") { // save the new value of textbox control in the temporary field _global_do = (e.Control as TextBox).Text; } }
Private Sub arDesigner_EditModeExit(ByVal sender As System.Object, ByVal e As DataDynamics.ActiveReports.Design.EditModeExitEventArgs) Handles arDesigner.EditModeExit If (e.Type = ExitType.Save) And (e.Control.Name = "txtDocumentOwner") Then ' save the new value of textbox control in the temporary field _global_do = CType(e.Control, TextBox).Text End If End Sub
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