Méthode | Description | |
---|---|---|
WrapInTextBox ( this text, System.Windows.Controls.TextBlock box ) : System.Windows.Controls.TextBlock |
Wraps a string in a TextBox element and returns the wrapper TextBox.
|
public static WrapInTextBox ( this text, System.Windows.Controls.TextBlock box ) : System.Windows.Controls.TextBlock | ||
text | this | The text to be wrapped inside the TextBox. |
box | System.Windows.Controls.TextBlock | The wrapper TextBox. |
Résultat | System.Windows.Controls.TextBlock |