Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / DropDownEditor Class / GetLineCount Method


In This Topic
    GetLineCount Method (DropDownEditor)
    In This Topic
    Retrieves the number of lines in a multiple-line mode of the drop-down window.
    Syntax
    'Declaration
     
    
    Public Function GetLineCount() As Integer
    'Usage
     
    
    Dim instance As DropDownEditor
    Dim value As Integer
     
    value = instance.GetLineCount()
    public int GetLineCount()

    Return Value

    An System.Int32 value that contains the number of lines in the multiple-line edit control.
    Remarks
    If the Text property is System.String.Empty, this method returns zero; otherwise, it returns the number of lines.
    See Also