context: /********
   * This file is part of Ext.NET.
   *     
   * Ext.NET is free software: you can redistribute it and/or modify
   * it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE as 
   * published by the Free Software Foundation, either version 3 of the 
   * License, or (at your option) any later version.
   * 
   * Ext.NET is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
   * 
   * You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
   * along with Ext.NET.  If not, see <http://www.gnu.org/licenses/>.
   *
   *
   * @version   : 1.2.0 - Ext.NET Pro License
   * @author    : Ext.NET, Inc. http://www.ext.net/
   * @date      : 2011-09-12
   * @copyright : Copyright (c) 2006-2011, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
   * @license   : GNU AFFERO GENERAL PUBLIC LICENSE (AGPL) 3.0. 
   *              See license.txt and http://www.ext.net/license/.
   *              See AGPL License at http://www.gnu.org/licenses/agpl-3.0.txt
   ********/
  
  using System.ComponentModel;
  using System.Web.UI;
  
  namespace Ext.Net
  {
  	/// <summary>
  	/// 
  	/// </summary>
  	[Description("")]
      public partial class GridViewListeners : ComponentBaseListeners
      {
          private ComponentListener beforeRefresh;
  
          /// <summary>
          /// Internal UI Event. Fired before the view is refreshed.
          /// </summary>
          [ListenerArgument(0, "item", typeof(GridView))]
          [TypeConverter(typeof(ExpandableObjectConverter))]
          [ConfigOption("beforerefresh", typeof(ListenerJsonConverter))]
          [PersistenceMode(PersistenceMode.InnerProperty)]
          [NotifyParentProperty(true)]
          [Description("Internal UI Event. Fired before the view is refreshed.")]
          public virtual ComponentListener BeforeRefresh
          {
              get
              {
                  if (this.beforeRefresh == null)
                  {
                      this.beforeRefresh = new ComponentListener();
                  }
  
                  return this.beforeRefresh;
              }
          }
  
          private ComponentListener beforeRowRemoved;
  
          /// <summary>
          /// Internal UI Event. Fired before a row is removed.
          /// </summary>
          [ListenerArgument(0, "item", typeof(GridView))]
          [ListenerArgument(1, "rowIndex")]
          [ListenerArgument(2, "record")]
          [TypeConverter(typeof(ExpandableObjectConverter))]
          [ConfigOption("beforerowremoved", typeof(ListenerJsonConverter))]
          [PersistenceMode(PersistenceMode.InnerProperty)]
          [NotifyParentProperty(true)]
          [Description("Internal UI Event. Fired before a row is removed.")]
          public virtual ComponentListener BeforeRowRemoved
          {
              get
              {
                  if (this.beforeRowRemoved == null)
                  {
                      this.beforeRowRemoved = new ComponentListener();
                  }
  
                  return this.beforeRowRemoved;
              }
          }
  
          private ComponentListener beforeRowsInserted;
  
          /// <summary>
          /// Internal UI Event. Fired before rows are inserted.
          /// </summary>
          [ListenerArgument(0, "item", typeof(GridView))]
          [ListenerArgument(1, "firstRow")]
          [ListenerArgument(2, "lastRow")]
          [TypeConverter(typeof(ExpandableObjectConverter))]
          [ConfigOption("beforerowsinserted", typeof(ListenerJsonConverter))]
          [PersistenceMode(PersistenceMode.InnerProperty)]
          [NotifyParentProperty(true)]
          [Description("Internal UI Event. Fired before rows are inserted.")]
          public virtual ComponentListener BeforeRowsInserted
          {
              get
              {
                  if (this.beforeRowsInserted == null)
                  {
                      this.beforeRowsInserted = new ComponentListener();
                  }
  
                  return this.beforeRowsInserted;
              }
          }
  
          private ComponentListener refresh;
  
          /// <summary>
          /// Internal UI Event. Fired after the GridView's body has been refreshed.
          /// </summary>
          [ListenerArgument(0, "item", typeof(GridView))]
          [TypeConverter(typeof(ExpandableObjectConverter))]
          [ConfigOption("refresh", typeof(ListenerJsonConverter))]
          [PersistenceMode(PersistenceMode.InnerProperty)]
          [NotifyParentProperty(true)]
          [Description("Internal UI Event. Fired after the GridView's body has been refreshed.")]
          public virtual ComponentListener Refresh
          {
              get
              {
                  if (this.refresh == null)
                  {
                      this.refresh = new ComponentListener();
                  }
  
                  return this.refresh;
              }
          }
  
          private ComponentListener rowRemoved;
  
          /// <summary>
          /// Internal UI Event. Fired after a row is removed.
          /// </summary>
          [ListenerArgument(0, "item", typeof(GridView))]
          [ListenerArgument(1, "rowIndex")]
          [ListenerArgument(2, "record")]
          [TypeConverter(typeof(ExpandableObjectConverter))]
          [ConfigOption("rowremoved", typeof(ListenerJsonConverter))]
          [PersistenceMode(PersistenceMode.InnerProperty)]
          [NotifyParentProperty(true)]
          [Description("Internal UI Event. Fired after a row is removed.")]
          public virtual ComponentListener RowRemoved
          {
              get
              {
                  if (this.rowRemoved == null)
                  {
                      this.rowRemoved = new ComponentListener();
                  }
  
                  return this.rowRemoved;
              }
          }
  
          private ComponentListener rowsInserted;
  
          /// <summary>
          /// Internal UI Event. Fired after rows are inserted.
          /// </summary>
          [ListenerArgument(0, "item", typeof(GridView))]
          [ListenerArgument(1, "firstRow")]
          [ListenerArgument(2, "lastRow")]
          [TypeConverter(typeof(ExpandableObjectConverter))]
          [ConfigOption("rowsinserted", typeof(ListenerJsonConverter))]
          [PersistenceMode(PersistenceMode.InnerProperty)]
          [NotifyParentProperty(true)]
          [Description("Internal UI Event. Fired after rows are inserted.")]
          public virtual ComponentListener RowsInserted
          {
              get
              {
                  if (this.rowsInserted == null)
                  {
                      this.rowsInserted = new ComponentListener();
                  }
  
                  return this.rowsInserted;
              }
          }
  
          private ComponentListener rowUpdated;
  
          /// <summary>
          /// Internal UI Event. Fired after a row has been updated.
          /// </summary>
          [ListenerArgument(0, "item", typeof(GridView))]
          [ListenerArgument(1, "rowIndex")]
          [ListenerArgument(2, "record")]
          [TypeConverter(typeof(ExpandableObjectConverter))]
          [ConfigOption("rowupdated", typeof(ListenerJsonConverter))]
          [PersistenceMode(PersistenceMode.InnerProperty)]
          [NotifyParentProperty(true)]
          [Description("Internal UI Event. Fired after a row has been updated.")]
          public virtual ComponentListener RowUpdated
          {
              get
              {
                  if (this.rowUpdated == null)
                  {
  
gt:                     this.rowUpdated = new ComponentListener();