All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

SankeyNodeLabel.MaxLineCount Property

Gets or sets the number of lines that label text can wrap.

Namespace: DevExpress.XtraCharts.Sankey

Assembly: DevExpress.XtraCharts.v20.2.dll

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public int MaxLineCount { get; set; }
<XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)>
Public Property MaxLineCount As Integer

Property Value

Type Description
Int32

A value that specifies the number of text lines. Should be greater than or equal to 0 and less than or equal to 20.

Remarks

When the label width is limited by the MaxWidth property value or if a label's text contains new line characters, its text is split across multiple lines. In this instance, the MaxLineCount property allows you to limit the number of text lines allowed.

If a label's length exceeds the limit defined by the MaxLineCount property, the last line of text is cut off by an ellipsis. To force a label to display its entire content regardless of label size, set the MaxLineCount property to 0.

See Also