Interface IHtmlItemParameter
One attribute an html item takes.
public interface IHtmlItemParameter
Properties
Category
What to group the attribute under in an editor.
string? Category { get; init; }
Property Value
- string
DefaultValue
What it means when the tag does not state it.
string? DefaultValue { get; init; }
Property Value
- string
Description
What the attribute is for.
string? Description { get; init; }
Property Value
- string
IsMultiple
Whether it takes more than one of those values.
bool IsMultiple { get; init; }
Property Value
- bool
Name
The attribute's name, as it is written on the tag.
string? Name { get; init; }
Property Value
- string
Type
What kind of value it takes - "Text", "Template", "Boolean", "Usergroup" and so on. A name rather than a number, and an editor uses it to decide which field to offer. Left as a string: the server may know a kind this client does not.
string? Type { get; init; }
Property Value
- string
Values
The values it is restricted to, where it is restricted at all. Usually empty.
List<string>? Values { get; init; }
Property Value
- List<string>