Rock.Web.UI.Controls.CheckinGroup.gLocations_Reorder C# (CSharp) Method

gLocations_Reorder() protected method

Handles the Reorder event of the gLocations control.
protected gLocations_Reorder ( object sender, Rock.Web.UI.Controls.GridReorderEventArgs e ) : void
sender object The source of the event.
e Rock.Web.UI.Controls.GridReorderEventArgs The instance containing the event data.
return void
        protected void gLocations_Reorder( object sender, GridReorderEventArgs e )
        {
            if ( ReorderLocationClick != null )
            {
                var eventArg = new CheckinGroupEventArg( GroupGuid, e.DataKey, e.OldIndex, e.NewIndex );
                ReorderLocationClick( this, eventArg );
            }
        }