Class Inspector.PropertyOptions

GoDiagram®
v10.0.11
by Northwoods Software®

An object describing options for an inspected property.

Inheritance
Inspector.PropertyOptions
Namespace: Northwoods.Go.Extensions
Assembly: DataInspectorAvalonia.dll
Syntax
public class Inspector.PropertyOptions

Properties

Choices

When Type == "select", the IList or Array of choices.

Declaration
public IEnumerable Choices { get; set; }
Property Value
Type Description
IEnumerable

DefaultValue

A default value for the property.

Declaration
public object DefaultValue { get; set; }
Property Value
Type Description
object

Name

The display name for the property.

Declaration
public string Name { get; set; }
Property Value
Type Description
string

ReadOnly

Whether the property is read-only.

Declaration
public bool ReadOnly { get; set; }
Property Value
Type Description
bool

Show

A predicate to conditionally show or hide the property.

Declaration
public Func<object, string, bool> Show { get; set; }
Property Value
Type Description
Func<object, string, bool>

Type

A string describing the data type. Supported values: "string|int|double|float|bool|arrayofnumber|point|rect|size|spot|margin|select|checkbox".

Declaration
public string Type { get; set; }
Property Value
Type Description
string