C# Class BalloonsPop.GraphicUserInterface.Gadgets.StringExtensions

Provides additional functionality for the string struct.
Datei anzeigen Open project: Baloons-Pop-4/Main

Public Methods

Method 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 method

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.
return System.Windows.Controls.TextBlock