14.1 Beta 1 SDK
PluginFormDefinition14.1 Beta
public sealed class Unbroken.LaunchBox.Plugins.Forms.PluginFormDefinitionDefines an ordered tree of plugin form elements with a flat set of input fields.
Constructors
public PluginFormDefinition(System.Collections.Generic.IReadOnlyList<Unbroken.LaunchBox.Plugins.Forms.PluginFormElement> elements)public PluginFormDefinition(System.Collections.Generic.IReadOnlyList<Unbroken.LaunchBox.Plugins.Forms.PluginFormField> fields)
PluginFormDefinition 14.1 Beta
public PluginFormDefinition(System.Collections.Generic.IReadOnlyList<Unbroken.LaunchBox.Plugins.Forms.PluginFormElement> elements)Initializes a form containing fields, groups, or both.
elements14.1 Beta- The elements in presentation order. Field IDs must be unique across the entire tree, ignoring case.
PluginFormDefinition 14.1 Beta
public PluginFormDefinition(System.Collections.Generic.IReadOnlyList<Unbroken.LaunchBox.Plugins.Forms.PluginFormField> fields)Initializes a flat form using the existing field-only syntax.
fields14.1 Beta- The fields in presentation order. Field IDs must be unique ignoring case.
Properties
public System.Collections.Generic.IReadOnlyList<Unbroken.LaunchBox.Plugins.Forms.PluginFormElement> Elements { get; }public System.Collections.Generic.IReadOnlyList<Unbroken.LaunchBox.Plugins.Forms.PluginFormField> Fields { get; }
Elements 14.1 Beta
public System.Collections.Generic.IReadOnlyList<Unbroken.LaunchBox.Plugins.Forms.PluginFormElement> Elements { get; }Gets the root elements in presentation order.
Fields 14.1 Beta
public System.Collections.Generic.IReadOnlyList<Unbroken.LaunchBox.Plugins.Forms.PluginFormField> Fields { get; }Gets all input fields in depth-first presentation order, including fields inside groups.