Skip to content

TextBoxExtensions ​

Namespace: Hex1b

Assembly: Hex1b.dll

Extension methods for building TextBoxWidget.

csharp
public static class TextBoxExtensions

Inheritance ​

Object → TextBoxExtensions

Methods ​

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

Creates a TextBox with the specified text.

Parameters:

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

Returns: TextBoxWidget

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

TextBox<TParent>(WidgetContext<TParent>) ​

Creates a TextBox with default empty text.

Parameters:

  • context (WidgetContext<<TParent>>):

Returns: TextBoxWidget

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

Released under the MIT License.