Visual Basic (Declaration) | |
---|---|
Public NotInheritable Class EditModeEnteringEventArgs Inherits System.EventArgs |
C# | |
---|---|
public sealed class EditModeEnteringEventArgs : System.EventArgs |
Edit mode applies to the following types of controls:
- RichTextBox
- TextBox
- CheckBox
- Label
Visual Basic | Copy Code |
---|---|
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 |
C# | Copy Code |
---|---|
private void arDesigner_EditModeEntering(object sender, EditModeEnteringEventArgs e) { if (e.Control is GrapeCity.ActiveReports.SectionReportModel.TextBox) { e.Cancel = true; } } |
System.Object
System.EventArgs
GrapeCity.ActiveReports.Design.EditModeEnteringEventArgs