Class
BindingOptions
ConsoleMonster.Interactive
Configuration for a display rebuilt from application state; its identity is fixed by Build.
Inheritance
- object
- BindingOptions
Usage
Explore 15 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 5
- Extension method BindingOptions.Configure
- Extension method BindingOptions.WidgetId
- Method BindingOptionsFluent.Configure
- Method BindingOptionsFluent.WidgetId
- Method Ui.Binding
Accepted by parameters 10
- Extension method BindingOptions.Build
- Extension method BindingOptions.Configure
- Extension method BindingOptions.Configure
- Extension method BindingOptions.WidgetId
- Method BindingOptionsFluent.Configure
- Method BindingOptionsFluent.Configure
- Method BindingOptionsFluent.WidgetId
- Method ContentBuilder.Binding
- Method ContentBuilder.Binding
- Method UiConstruction.Build
Constructors
public BindingOptions() #Inherited Methods
Properties
public Func<AppState, IWidget>? Content { get; set; } #Creates display content from the current state; stable input controls stay in the outer layout.
Extension Methods
public static AppBinding Build(BindingOptions options) #Creates a state binding after its callback and identity have been configured.
Parameters
- options ConsoleMonster.Interactive.BindingOptions
- The configured definition.
public static BindingOptions Configure(BindingOptions bindingOptions, Action<BindingOptions> configure) #Assigns callbacks and related configuration without invoking delegate-valued properties.
Parameters
- bindingOptions ConsoleMonster.Interactive.BindingOptions
- The instance.
- configure System.Action<ConsoleMonster.Interactive.BindingOptions>
- Assignments applied in order.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.BindingOptions { Content = value }; Ui.Binding().Configure(configured => configured.Content = value);public static BindingOptions WidgetId(BindingOptions bindingOptions, string? value) #Sets BindingOptions.WidgetId: The optional live-region identity.
Parameters
- bindingOptions ConsoleMonster.Interactive.BindingOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.BindingOptions { WidgetId = value }; Ui.Binding().WidgetId(value);