Table of Contents

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

IEnumerable

DefaultValue

A default value for the property.

public object DefaultValue { get; set; }

Property Value

object

Name

The display name for the property.

public string Name { get; set; }

Property Value

string

ReadOnly

Whether the property is read-only.

public bool ReadOnly { get; set; }

Property Value

bool

Show

A predicate to conditionally show or hide the property.

public Func<object, string, bool> Show { get; set; }

Property Value

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".

public string Type { get; set; }

Property Value

string