GrapeCity MultiRow Windows Forms Documentation
CellResizeCompleted Event
Example 


Occurs after a Cell is resized.
Syntax
<SRDescriptionAttribute("Occurs after one Cell is resized.")>
<SRCategoryAttribute("Behavior")>
Public Event CellResizeCompleted As EventHandler(Of CellEventArgs)
Dim instance As GcMultiRow
Dim handler As EventHandler(Of CellEventArgs)
 
AddHandler instance.CellResizeCompleted, handler
[SRDescription("Occurs after one Cell is resized.")]
[SRCategory("Behavior")]
public event EventHandler<CellEventArgs> CellResizeCompleted
Event Data

The event handler receives an argument of type CellEventArgs containing data related to this event. The following CellEventArgs properties provide information specific to this event.

PropertyDescription
CellIndexGets the cell index in its parent Section.  
CellNameGets the cell name.  
RowIndexGets the index of the owner Row that the event occurs for.  
ScopeGets the area of the cell that the event occurs for.  
SectionIndexGets the index of the owner Section that the event occurs for.  
Example
The following code example shows the CellResizeCompleted event. This event is raised after a cell is resized. This code example is part of a larger example provided for the AllowUserToResize class.
void gcMultiRow1_CellResizeCompleted(object sender, CellEventArgs e)
        {
            this.label.Text = "CellResizeCompleted:" + " CellScope=" + e.Scope +
                " SectionIndex=" + e.SectionIndex + " CellIndex=" + e.CellIndex + " CellName=" + e.CellName;
        }
Private Sub gcMultiRow1_CellResizeCompleted(ByVal sender As Object, ByVal e As CellEventArgs) Handles gcMultiRow1.CellResizeCompleted
        Me.label.Text = "CellResizeCompleted:" + " CellScope=" + e.Scope.ToString() + " SectionIndex=" + e.SectionIndex.ToString() + " CellIndex=" + e.CellIndex.ToString() + " CellName=" + e.CellName.ToString()
    End Sub
Requirements

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

See Also

Reference

GcMultiRow Class
GcMultiRow Members

 

 


Copyright © GrapeCity, inc. All rights reserved.