Class Inspector.PropertyOptions
- Namespace
- Northwoods.Go.Extensions
- Assembly
- DataInspectorWinForms.dll
An object describing options for an inspected property.
public class Inspector.PropertyOptions
- Inheritance
-
Inspector.PropertyOptions
- Inherited Members
Properties
Choices
When Type == "select", the IList or Array of choices.
public IEnumerable Choices { get; set; }
Property Value
DefaultValue
A default value for the property.
public object DefaultValue { get; set; }
Property Value
Name
The display name for the property.
public string Name { get; set; }
Property Value
ReadOnly
Whether the property is read-only.
public bool ReadOnly { get; set; }
Property Value
Show
A predicate to conditionally show or hide the property.
public Func<object, string, bool> Show { get; set; }
Property Value
Type
A string describing the data type. Supported values: "string|int|double|float|bool|arrayofnumber|point|rect|size|spot|margin|select|checkbox".
public string Type { get; set; }