TextTrailingCharacterEllipsis(Double, TextRunProperties) 构造函数

定义

通过指定折叠文本属性来初始化 TextTrailingCharacterEllipsis 类的新实例。

public:
 TextTrailingCharacterEllipsis(double width, System::Windows::Media::TextFormatting::TextRunProperties ^ textRunProperties);
public TextTrailingCharacterEllipsis (double width, System.Windows.Media.TextFormatting.TextRunProperties textRunProperties);
new System.Windows.Media.TextFormatting.TextTrailingCharacterEllipsis : double * System.Windows.Media.TextFormatting.TextRunProperties -> System.Windows.Media.TextFormatting.TextTrailingCharacterEllipsis
Public Sub New (width As Double, textRunProperties As TextRunProperties)

参数

width
Double

一个 Double,表示所指定折叠文本范围的限定宽度。

textRunProperties
TextRunProperties

一个表示共享文本属性集的 TextRunProperties 值。

适用于