Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

MaxLines Property, SftTree Class

Defines the maximum number of text lines to be displayed by cells in the item area.

Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public int MaxLines { get; set; }
Public Property MaxLines As Integer

Value

The maximum number of text lines to be displayed by cells or 0 if there is no limit.

The default value is 3.

Comments

Defines the maximum number of text lines to be displayed by cells in the item area.

The TextPartClass class honors this property and never displays more than the defined number of text lines for cells in the item area.

When designing additional parts (derived from GenericPartClass or from TextPartClass), make sure to honor this property.

See Also SftTree Class | Classes | SftTree/NET 2.0