Dela via


ContentPresenter.MaxLines Property

Definition

Gets or sets the maximum lines of text shown.

public:
 property int MaxLines { int get(); void set(int value); };
int MaxLines();

void MaxLines(int value);
public int MaxLines { get; set; }
var int32 = contentPresenter.maxLines;
contentPresenter.maxLines = int32;
Public Property MaxLines As Integer

Property Value

Int32

int

The maximum lines of text shown. The default is 0, which is a special value that represents "Auto" behavior. The value cannot be negative.

Applies to