Needing to cast a DataGridView cell into a TextBoxBase

I don't know if it's even possible or if I'm even on the right track....but the quick background of this issue is that we have a third party spellchecker (Component1) and need to use it with the DataGridView.  What is required for the real time spell checker is that it be passed a byval TextBoxBase (which is called when the user enters the cell).  I'm still on the learning curve of .Net and have tried several things which I though would work (DataGridViewTextBoxCell, DataGridViewTextBoxEditingControl, DGV.EditingControl...etc) but can't seem to get the correct cast for a textboxbase.
Please let me know if more information is needed or if anything needs to be clarified.  And thanks in advance!!
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

chilekittyConnect With a Mentor Author Commented:
Found out what the issue was...wouldn't you know it, just when I finished entering this question.  I'm including the code snippet in case anyone has the same problem I did:

 Private Sub _flex_EditingControlShowing(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewEditingControlShowingEventArgs) Handles _flex.EditingControlShowing
        Dim tb As TextBoxBase = TryCast(e.Control, TextBoxBase)
        If tb IsNot Nothing Then
            _spell.SetSpellChecking(tb, True)
        End If
    End Sub
All Courses

From novice to tech pro — start learning today.