C# Class BalloonsPop.GraphicUserInterface.Gadgets.StringExtensions

Provides additional functionality for the string struct.
Afficher le fichier Open project: Baloons-Pop-4/Main

Méthodes publiques

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.

Method Details

WrapInTextBox() public static méthode

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