Skip to content

BH.oM.Base.Attributes.Enums.UIExposure

Setting to determine whether an element using this enum should be displayed on a User Interface (UI).

Enum values

Name Description
Display The associated element will be displayed on any UI exposing BHoM components.
Hidden The associated element will NOT be displayed on any UI. The element will be accessible via code only.

Code and Schema

C# implementation

C#
public enum UIExposure : System.Enum, System.ValueType, System.IComparable, System.ISpanFormattable, System.IFormattable, System.IConvertible

Assembly: BHoM.dll

The C# enum definition is available on github:

All history and changes of the class can be found by inspection the history.

JSON Schema implementation

The object is defined as a JSON schema. You can validate a JSON instance against this schema by reference. To do this, use the schema reference below in a validator like this one.

JSON Schema
{
 "$ref" : "https://raw.githubusercontent.com/BHoM/BHoM_JSONSchema/develop/BHoM/Attributes/Enums/UIExposure.json"
}

The JSON Schema is available on github here: