TextTrimming 枚举

定义

描述当文本溢出其包含框的边缘时如何修整文本。Describes how text is trimmed when it overflows the edge of its containing box.

public enum class TextTrimming
[System.Windows.Localizability(System.Windows.LocalizationCategory.None, Readability=System.Windows.Readability.Unreadable)]
public enum TextTrimming
type TextTrimming = 
Public Enum TextTrimming
继承
TextTrimming
属性

字段

CharacterEllipsis 1

在字符边界处修整文本。Text is trimmed at a character boundary. 将绘制省略号 (...) 来替代剩余的文本。An ellipsis (...) is drawn in place of remaining text.

None 0

不修整文本。Text is not trimmed.

WordEllipsis 2

在单词边界处修整文本。Text is trimmed at a word boundary. 将绘制省略号 (...) 来替代剩余的文本。An ellipsis (...) is drawn in place of remaining text.

适用于