編輯

共用方式為


UILineBreakMode Enum

Definition

An enumeration of values used to specify line break mode.

public enum UILineBreakMode
type UILineBreakMode = 
Inheritance
UILineBreakMode

Fields

Name Value Description
WordWrap 0

Wraps at the first word that does not fit.

CharacterWrap 1

Wraps at the first character that doesn't fit.

Clip 2

That which does not fit is not rendered.

HeadTruncation 3

The end of the text is shown, the head is truncated to an ellipse.

TailTruncation 4

The start of the text is shown, the rest is indicated with an ellipse.

MiddleTruncation 5

The start and end of the text is shown, with an ellipse in the middle.

Applies to