Spread Windows Forms 7.0 Product Documentation
GetLineCount Method
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > DropDownEditor Class : GetLineCount Method


Glossary Item Box

Retrieves the number of lines in a multiple-line mode of the drop-down window.

Syntax

Visual Basic (Declaration) 
Public Function GetLineCount() As Integer
Visual Basic (Usage)Copy Code
Dim instance As DropDownEditor
Dim value As Integer
 
value = instance.GetLineCount()
C# 
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.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.