C# Class XLibrary.FieldModel

Inheritance: IFieldModel
Exibir arquivo Open project: swax/CodePerspective Class Usage Examples

Public Properties

Property Type Description
ElementIndex int
Expanded bool
FieldInfo System.Reflection.FieldInfo
FieldType System.Type
GenericName string
Instance InstanceModel
Instances List
ParentField FieldModel
PropertyInfo System.Reflection.PropertyInfo
TypeChain XLibrary.FieldModel[]

Public Methods

Method Description
AddRow ( FieldModel row ) : void
ExpandField ( string fieldFilter = null ) : void
FieldModel ( InstanceModel instance, FieldModel parent, RowTypes type ) : System
FieldModel ( InstanceModel grid, FieldModel parent, RowTypes rowType, FieldInfo info ) : System
FieldModel ( InstanceModel grid, FieldModel parent, RowTypes rowType, PropertyInfo info ) : System
FieldModel ( InstanceModel grid, FieldModel parent, RowTypes rowType, Type type ) : System
FieldModel ( InstanceModel grid, FieldModel parent, RowTypes rowType, Type type, int elementIndex ) : System
GetFieldValue ( object rootInstanceValue ) : object
GetObjectLabel ( object obj ) : string
Init ( ) : void
InitCells ( string type, string value ) : void
RefreshProperties ( ) : void
SetCellValue ( int i, string newValue ) : void

Private Methods

Method Description
AddFieldMembers ( ) : void
RefreshCell ( int i, ActiveRecord instance ) : void
RefreshField ( ) : void
RefreshFieldEnumerations ( ) : void

Method Details

AddRow() public method

public AddRow ( FieldModel row ) : void
row FieldModel
return void

ExpandField() public method

public ExpandField ( string fieldFilter = null ) : void
fieldFilter string
return void

FieldModel() public method

public FieldModel ( InstanceModel instance, FieldModel parent, RowTypes type ) : System
instance InstanceModel
parent FieldModel
type RowTypes
return System

FieldModel() public method

public FieldModel ( InstanceModel grid, FieldModel parent, RowTypes rowType, FieldInfo info ) : System
grid InstanceModel
parent FieldModel
rowType RowTypes
info System.Reflection.FieldInfo
return System

FieldModel() public method

public FieldModel ( InstanceModel grid, FieldModel parent, RowTypes rowType, PropertyInfo info ) : System
grid InstanceModel
parent FieldModel
rowType RowTypes
info System.Reflection.PropertyInfo
return System

FieldModel() public method

public FieldModel ( InstanceModel grid, FieldModel parent, RowTypes rowType, Type type ) : System
grid InstanceModel
parent FieldModel
rowType RowTypes
type System.Type
return System

FieldModel() public method

public FieldModel ( InstanceModel grid, FieldModel parent, RowTypes rowType, Type type, int elementIndex ) : System
grid InstanceModel
parent FieldModel
rowType RowTypes
type System.Type
elementIndex int
return System

GetFieldValue() public method

public GetFieldValue ( object rootInstanceValue ) : object
rootInstanceValue object
return object

GetObjectLabel() public method

public GetObjectLabel ( object obj ) : string
obj object
return string

Init() public method

public Init ( ) : void
return void

InitCells() public method

public InitCells ( string type, string value ) : void
type string
value string
return void

RefreshProperties() public method

public RefreshProperties ( ) : void
return void

SetCellValue() public method

public SetCellValue ( int i, string newValue ) : void
i int
newValue string
return void

Property Details

ElementIndex public_oe property

public int ElementIndex
return int

Expanded public_oe property

public bool Expanded
return bool

FieldInfo public_oe property

public FieldInfo,System.Reflection FieldInfo
return System.Reflection.FieldInfo

FieldType public_oe property

public Type,System FieldType
return System.Type

GenericName public_oe property

public string GenericName
return string

Instance public_oe property

public InstanceModel,XLibrary Instance
return InstanceModel

Instances public_oe property

public List Instances
return List

ParentField public_oe property

public FieldModel,XLibrary ParentField
return FieldModel

PropertyInfo public_oe property

public PropertyInfo,System.Reflection PropertyInfo
return System.Reflection.PropertyInfo

TypeChain public_oe property

public FieldModel[],XLibrary TypeChain
return XLibrary.FieldModel[]