Redigera

Dela via


TextTrailingWordEllipsis(Double, TextRunProperties) Constructor

Definition

Initializes a new instance of the TextTrailingCharacterEllipsis class by specifying collapsed text properties.

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

Parameters

width
Double

A Double that represents the width for which the specified collapsed text range is constrained to.

textRunProperties
TextRunProperties

A TextRunProperties value that represents the set of shared text properties.

Applies to