Skip to content

EditorExtensions

Namespace: Hex1b

Assembly: Hex1b.dll

Extension methods for building EditorWidget.

csharp
public static class EditorExtensions

Inheritance

ObjectEditorExtensions

Methods

Editor<TParent>(WidgetContext<TParent>, EditorState)

Creates an Editor widget bound to the specified state. The editor defaults to height so it expands to fill available vertical space in stack layouts rather than requesting unbounded height.

Parameters:

Returns: EditorWidget

csharp
public static EditorWidget Editor<TParent>(this WidgetContext<TParent> ctx, EditorState state) where TParent : Hex1bWidget

Released under the MIT License.