Skip to content

TextBoxExtensions

Namespace: Hex1b

Assembly: Hex1b.dll

Extension methods for building TextBoxWidget.

csharp
public static class TextBoxExtensions

Inheritance

ObjectTextBoxExtensions

Methods

TextBox<TParent>(WidgetContext<TParent>, string)

Creates a TextBox with the specified text.

Parameters:

  • ctx (WidgetContext<<TParent>>):
  • text (String):

Returns: TextBoxWidget

csharp
public static TextBoxWidget TextBox<TParent>(this WidgetContext<TParent> ctx, string text) where TParent : Hex1bWidget

TextBox<TParent>(WidgetContext<TParent>)

Creates a TextBox with default empty text.

Parameters:

  • ctx (WidgetContext<<TParent>>):

Returns: TextBoxWidget

csharp
public static TextBoxWidget TextBox<TParent>(this WidgetContext<TParent> ctx) where TParent : Hex1bWidget

Released under the MIT License.