GrapeCity.Win.MultiRow Namespace > GcMultiRow Class : SelectionChanged Event |
<SRDescriptionAttribute("Occurs when the current selection changes.")> <SRCategoryAttribute("Action")> Public Event SelectionChanged As EventHandler
Dim instance As GcMultiRow Dim handler As EventHandler AddHandler instance.SelectionChanged, handler
[SRDescription("Occurs when the current selection changes.")] [SRCategory("Action")] public event EventHandler SelectionChanged
void gcMultiRow1_SelectionChanged(object sender, EventArgs e) { this.Text = "Selected cell count: " + this.gcMultiRow1.SelectedCells.Count; this.Text += " Selected row count: " + this.gcMultiRow1.SelectedRows.Count; }
Private Sub gcMultiRow1_SelectionChanged(ByVal sender As Object, ByVal e As EventArgs) Handles gcMultiRow1.SelectionChanged Me.Text = "Selected cell count: " + Me.gcMultiRow1.SelectedCells.Count.ToString() Me.Text += " Selected row count: " + Me.gcMultiRow1.SelectedRows.Count.ToString() End Sub
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