TextBoxExtensions
Namespace: Hex1b
Assembly: Hex1b.dll
Extension methods for building TextBoxWidget.
csharp
public static class TextBoxExtensionsInheritance
Object → TextBoxExtensions
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 : Hex1bWidgetTextBox<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