ContentPresenter.MaxLines Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.