Docs · API reference · Verso.Abstractions
PropertyFieldOption Class#
Represents a selectable option for Select and MultiSelect property fields.
public sealed record PropertyFieldOption : System.IEquatable<Verso.Abstractions.PropertyFieldOption>
Inheritance System.Object → PropertyFieldOption
Implements System.IEquatable<PropertyFieldOption>
Constructors#
PropertyFieldOption(string, string) Constructor#
Represents a selectable option for Select and MultiSelect property fields.
public PropertyFieldOption(string Value, string DisplayName);
Parameters#
Value System.String
The stored value when this option is selected.
DisplayName System.String
The human-readable label shown in the UI.
Properties#
DisplayName Property#
The human-readable label shown in the UI.
public string DisplayName { get; init; }
Property Value#
Value Property#
The stored value when this option is selected.
public string Value { get; init; }