Rock.Web.UI.Controls.RegistrationTemplateFormEditor.gFields_Delete C# (CSharp) Method

gFields_Delete() protected method

Handles the Delete event of the gFields control.
protected gFields_Delete ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e RowEventArgs The instance containing the event data.
return void
        protected void gFields_Delete( object sender, RowEventArgs e )
        {
            if ( DeleteFieldClick != null )
            {
                var eventArg = new TemplateFormFieldEventArg( FormGuid, (Guid)e.RowKeyValue );
                DeleteFieldClick( this, eventArg );
            }
        }